// combined together public static T Parse(string s) { if (!TestNumber.IsMatch(s)) { throw new FormatException("Not a number"); } return(ParseMethod(s, Styles, CultureInfo.InvariantCulture)); }
// combined together public static T Parse(string s) { if (!TestNumber.IsMatch(s)) { throw new FormatException("Not a number"); } return(ParseMethod(s, Styles, CultureInfo.InvariantCulture)); }