As a little test I wanted to see how long it would take to count to int.MaxValue in a C# console application. Every few hours I checked the progress. Last night when I thoug
When you add 1 to an Int32.MaxValue you will end up with Int32.MinValue.
Int32.MaxValue
Int32.MinValue
int a = Int32.MaxValue; a++; // a is now -2147483648