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
The optimizer probably produces the same result, if x is a simple type like int or float.
If you'd use some other language (limited VB knowledge here, can you overload +=?) where x could be one big honking object, the former creates and extra copy, which can be hundreds of megs. The latter does not.