I\'m under the impression that these two commands result in the same end, namely incrementing X by 1 but that the latter is probably more efficient.
If this is not c
I wrote a simple console app:
static void Main(string[] args) { int i = 0; i += 1; i = i + 1; Console.WriteLine(i); }
I disassembled it using Reflector and here's what i got:
private static void Main(string[] args) { int i = 0; i++; i++; Console.WriteLine(i); }
They are the same.