C# <-> C++ | 64-bit unsigned integer

C#

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
.
C++

unsigned long long

Description

 unsigned  long  long
Used keywords: long unsigned
Note: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.

Examples

C++

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

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
.
C++

unsigned long long

Description

 unsigned  long  long
Used keywords: long unsigned
Note: In C like languages the data type size may be different depending on compiler and architecture, we show only one standard look.

Examples

C++

64-bit unsigned integer the possible of use:
xmin = 0; ymax = 18446744073709551615;
unsigned long long x=7001234;        // x = 7001234
unsigned long long y = 10250 / 8;    // y = 1281
y = (unsigned long long)(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