C# - 64-bit unsigned integer: ulong, UInt64

64-bit unsigned integer type is used to store only pozitiv whole number. 64-bit unsigned integer and his value range: from 0 to 18446744073709551615.

ulong

Description

 ulong
Used keywords: ulong

Examples

C#

64-bit unsigned integer the possible of use:
xmin = 0; ymax = 18446744073709551615;
ulong x=7001234;        // x = 7001234
ulong y = 10250 / 8;    // y = 1281
y = (ulong)(x * y);     // z = 8968580754

UInt64

Description

 UInt64
Used keywords: uint64

Examples

C#

64-bit unsigned integer the possible of use:
xmin = 0; ymax = 18446744073709551615;
UInt64 x=7001234;        // x = 7001234
UInt64 y = 10250 / 8;    // y = 1281
y = (UInt64)(x * y);     // z = 8968580754

you can find it in the following collections: unsigned integers | integers | numbers | data types
64-bit unsigned integer in another programming language:
Differences to:
Languages: en hu cz sk