In C# What's the difference between Int64 and long?

curious coder picture curious coder · Apr 27, 2016 · Viewed 11.5k times · Source

In C#, what is the difference between Int64 and long?

Example:

long x = 123;
Int64 x = 123;

Answer

James World picture James World · Apr 27, 2016

There is no difference in the compiled code. They are aliases for the same thing.