Imports System.Globalization
Imports System.Numerics
Module Example
Public Sub Main()
Dim bigNumber As BigInteger = 9999
Try
Dim number3 As Integer = CInt(bigNumber)
Console.WriteLine(number3)
Catch e As OverflowException
Console.WriteLine("{0} is out of range of an Int32.", bigNumber)
End Try
End Sub
End Module