IsNumeric

public static bool IsNumeric(this string value)
{
    Regex regex = new Regex(@"[0-9]");
    return regex.IsMatch(value);
}
Example:
Public void Test()

Description

Checks if a string value is numeric

Details

Double click on the code to select all.

 

;