BF2Statistics.Validator.IsNumeric C# (CSharp) Method

IsNumeric() public static method

Determines if the givin string is numberic, and contains only numbers
public static IsNumeric ( string line ) : bool
line string The string to be checked
return bool
        public static bool IsNumeric(string line)
        {
            return Regex.IsMatch(line, @"^[0-9]+$");
        }