Int32.Parse Method (System) | Microsoft Learn
learn.microsoft.com › en-us › dotnetParse (ReadOnlySpan<Char>, NumberStyles, IFormatProvider) Converts the span representation of a number in a specified style and culture-specific format to its 32-bit signed integer equivalent. Parse (String, NumberStyles, IFormatProvider) Converts the string representation of a number in a specified style and culture-specific format to its 32-bit signed integer equivalent.