I\'m having a hard time understanding what the difference is between incrementing a variable in C# this way:
myInt++;
and
++myInt will add one to myInt before executing the line in question, myInt++ will do it afterward.
Examples:
int myInt; myInt = 1; someFunction(++myInt); // Sends 2 as the parameter myInt = 1; someFunction(myInt++); // Sends 1 as the parameter