How to determine if String Contains Numeric value

Int32.TryParse() method.
If the operation is successful, true is returned, else the operation
returns a false.

int i = 0;
string str = "234abc";
bool b = Int32.TryParse(str, out i);

0 comments: