Mega Code Archive

 
Categories / VB.Net / Data Types
 

Using UInt64 MaxValue

Imports System Imports System.IO Imports System.Numerics Imports System.Runtime.Serialization.Formatters.Binary Module Example    Public Sub Main()         Dim bigNumber As BigInteger = BigInteger.Pow(Int32.MaxValue, 2)         Dim number As ULong = UInt64.MaxValue         If number > bigNumber Then            ' Do something         End If    End Sub End Module