I\'d like to know on C# how to check if a string is a number (and just a number).
Example :
141241 Yes 232a23 No 12412a No
an
string str = "123"; int i = Int.Parse(str);
If str is a valid integer string then it will be converted to integer and stored in i other wise Exception occur.