How to get the size, min and max of ULong Data Type in VB.NET

1 Answer

0 votes
Module Module1

    Sub Main()

        Console.WriteLine(System.Runtime.InteropServices.Marshal.SizeOf(GetType(ULong)))
        Console.WriteLine(ULong.MinValue)
        Console.WriteLine(ULong.MaxValue)

    End Sub

End Module

' run:
' 
' 8
' 0
' 18446744073709551615

 



answered Dec 12, 2016 by avibootz

Related questions

1 answer 164 views
1 answer 209 views
1 answer 257 views
1 answer 201 views
1 answer 192 views
1 answer 176 views
1 answer 171 views
...