想知道为什么.C#.Net 3.5
int a = 256 * 1024 * 1024; int b = 8; long c = b * a; Console.WriteLine(c);//<-- result is -2147483648
这减去了哪里?
c# int multiplying .net-3.5 long-integer
.net-3.5 ×1
c# ×1
int ×1
long-integer ×1
multiplying ×1