Imports System.Numerics
Imports System
Module Example
Public Sub Main()
Dim stringToParse As String = String.Empty
Try
Dim string1, string2 As String
string1 = "12349999999"
string2 = "987654329999999"
stringToParse = string1
Dim number1 As BigInteger = BigInteger.Parse(stringToParse)
Console.WriteLine(number1)
stringToParse = string2
Dim number2 As BigInteger = BigInteger.Parse(stringToParse)
Catch e As FormatException
Console.WriteLine("Unable to parse {0}.", stringToParse)
End Try
End Sub
End Module