AK.F1.Timing.Live.LiveData.ParseInt32 C# (CSharp) Method

ParseInt32() public static method

Parses a System.Int32 from the specified string.
/// Thrown when is incorrectly formatted. ///
public static ParseInt32 ( string s ) : int
s string The string to parse.
return int
        public static int ParseInt32(string s)
        {
            int value;

            if(Int32.TryParse(s, NumberStyles.Integer, CultureInfo.InvariantCulture, out value))
            {
                return value;
            }

            throw Guard.LiveData_UnableToParseInt32(s);
        }