n
Size: a a a
n
G
using System;1
public class C {
public static void Main() {
int tmp = 0;
Console.WriteLine(++tmp);
Console.WriteLine(tmp);
Console.WriteLine(tmp++);
Console.WriteLine(tmp);
}
}
G
n
G
n
G
G
G
G
G
n
n
G
n
using System;
public class C {
public static void Main() {
int tmp = 0;
++tmp;
Console.WriteLine(tmp);
tmp++;
Console.WriteLine(tmp);
}
}
C.Main()
L0000: push ebp
L0001: mov ebp, esp
L0003: push eax
L0004: xor eax, eax
L0006: mov [ebp-4], eax
L0009: cmp dword ptr [0x1641c1a8], 0
L0010: je short L0017
L0012: call 0x72780140
L0017: nop
L0018: xor ecx, ecx
L001a: mov [ebp-4], ecx
L001d: mov ecx, [ebp-4]
L0020: inc ecx
L0021: mov [ebp-4], ecx
L0024: mov ecx, [ebp-4]
L0027: call System.Console.WriteLine(Int32)
L002c: nop
L002d: mov ecx, [ebp-4]
L0030: inc ecx
L0031: mov [ebp-4], ecx
L0034: mov ecx, [ebp-4]
L0037: call System.Console.WriteLine(Int32)
L003c: nop
L003d: nop
L003e: mov esp, ebp
L0040: pop ebp
L0041: ret
n
G
G
G
n