// function pointer in IL assembly .assembly hi { .hash algorithm 0x00008004 .ver 0:0:0:0 } .class private auto ansi Hello extends [mscorlib]System.Object { .method public static void Main() { .entrypoint .maxstack 3 .locals init (int32 *,class [mscorlib]System.Exception) ldstr "Hw" call void [mscorlib]System.Console::WriteLine(class System.String) try0: ldftn void [mscorlib]System.Console::WriteLine(int32) stloc.0 // check integrity // ldloc.0 ldc.i4 4 sub stloc.0 // check integrity // ldc.i4 11 ldloc.0 calli void(int32) leave.s final0 catch0: stloc.1 leave.s final0 final0: .try try0 to catch0 catch [mscorlib]System.Exception handler catch0 to final0 ret } }