P
Paul
string mynumberstring = "123";
int mynumber;
mynumber = int.Parse(mynumberstring);
mynumber = Convert.ToInt32(mynumberstring);
Both seem to have the same effect. But whats the
difference and which is 'best'?
Thanks, Paul.
int mynumber;
mynumber = int.Parse(mynumberstring);
mynumber = Convert.ToInt32(mynumberstring);
Both seem to have the same effect. But whats the
difference and which is 'best'?
Thanks, Paul.