The question is easy! How do you represent a 64 bit int in C#?
Asked
Active
Viewed 4.7k times
4 Answers
10
A signed 64 bit integer is long
, an unsigned is ulong
.
The corresponding types in the framwwork are System.Int64
and System.UInt64
, respectively.
Example:
long bigNumber = 9223372036854775807;

Guffa
- 687,336
- 108
- 737
- 1,005