public void BoxUnbox()
{
int i = 123;
int a = 2;
int j = a;
int mm = a + j;
object o = mm;
}
.method public hidebysig instance void BoxUnbox() cil managed
{
// 代码大小 21 (0x15)
.maxstack 2
.locals init ([0] int32 i,
[1] int32 a,
[2] int32 j,
[3] int32 mm,
[4] object o)
IL_0000: nop
IL_0001: ldc.i4.s 123
IL_0003: stloc.0
IL_0004: ldc.i4.2
IL_0005: stloc.1
IL_0006: ldloc.1
IL_0007: stloc.2
IL_0008: ldloc.1
IL_0009: ldloc.2
IL_000a: add
IL_000b: stloc.3
IL_000c: ldloc.3
IL_000d: box [mscorlib]System.Int32
IL_0012: stloc.s o
IL_0014: ret
} // end of method WebForm3::BoxUnbox