Friday, 1 June 2012

Check If A String Value Is Numeric


static bool IsNumber(string value)
        {
            // Return true if this is a number.
            int number1;
            return int.TryParse(value, out number1);
          
        }


No comments:

Post a Comment