How to get min and max value of Int64 and UInt64 in VB.NET

1 Answer

0 votes
' Int64 = signed eight bytes integer within the range of: -9223372036854775808 to 9223372036854775807
 
' UInt64 = unsigned eight bytes integer within the range of: 0 to 18446744073709551615

Imports System

Public Class Program
	Public Shared Sub Main()
        Console.WriteLine("range of {0} to {1}", Int64.MinValue, Int64.MaxValue)
		
        Console.WriteLine("range of {0} to {1}", UInt64.MinValue, UInt64.MaxValue)
    End Sub
End Class







' run
'
' range of -9223372036854775808 to 9223372036854775807
' range of 0 to 18446744073709551615
'

 



answered Aug 5, 2022 by avibootz

Related questions

1 answer 156 views
1 answer 185 views
185 views asked Aug 5, 2022 by avibootz
1 answer 154 views
154 views asked Aug 5, 2022 by avibootz
1 answer 152 views
1 answer 254 views
1 answer 226 views
1 answer 217 views
...