Post-increment within a self-assignment
Let’s take a look at the intermediary language code for that: IL_0000: nop IL_0001: ldc.i4.s 2A IL_0003: stloc.0 // c IL_0004: ldloc.0 // c This loads the constant integer 42 onto the stack, then stores it into the variable c, and loads it immediately again onto the stack. IL_0005: stloc.1 IL_0006: ldloc.1 This copies the …