Class BigIntegerParser
public static class BigIntegerParser
- Inheritance
-
BigIntegerParser
- Inherited Members
Methods
TryParseBigInteger(string, int, out BigInteger)
Parses a string of the specified base into a BigInteger. Throws OverflowException if the string contains invalid characters.
public static bool TryParseBigInteger(string value, int numberBase, out BigInteger result)
Parameters
valuestringThe input string to parse.
numberBaseintThe base: 2, 8, 10, or 16.
resultBigIntegerThe output BigInteger value.
Returns
- bool
True if parsing succeeded, false otherwise.