public static long ParseLong(string s) { long result; if (!TryParseLong(s, out result)) { throw new FormatException(); } return result; }