Giving the following example:
int example1 = 1;
int example2 = 10;
Console.WriteLine(example1);
Console.WriteLine(example2);
Console.WriteLine(example1 = example2++);
Console.WriteLine(example1);
Console.WriteLine(example2);
Console.ReadKey();
Why is the return 1, 10, 10, 11?
I would expect example1 to become equal to the new value of example2, in this case 11.
The ++ seems to take effect after the set of example1.