If you only want
values you could use the int.TryParse(string, outputMember)
]. Depending on the size of the input, you might need to use
If the number is too large for even
to handle, you will have to test the string character by character, using something like the
method and check for decimal points, commas etc. as well.
I have just found an article about this - C# Equivalent of VB's IsNumeric()