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
Yes there is
int temp; int.TryParse("141241", out temp) = true int.TryParse("232a23", out temp) = false int.TryParse("12412a", out temp) = false
Hope this helps.