0
How to Convert string value
plz
2 Answers
+ 3
You can use Parse methods or methods in the Convert class.
Ex:
string s = "23";
int i = int.Parse(s);
int j = Convert.ToInt32(s);
The only difference is that the Convert class methods can handle null values.