poupou@pollux:~/src/bugzilla> cat ex.cs using System; class Program { static int Main (string[] args) { if (args.Length == 0) return 42; else return 0; } } poupou@pollux:~/src/bugzilla> monodis ex.exe .assembly extern mscorlib { .ver 1:0:5000:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } .assembly 'ex' { .hash algorithm 0x00008004 .ver 0:0:0:0 } .module ex.exe // GUID = {5B8B943A-92CC-4AFA-B39E-369EA6A18B0A} .class private auto ansi beforefieldinit Program extends [mscorlib]System.Object { // method line 1 .method public hidebysig specialname rtspecialname instance default void .ctor () cil managed { // Method begins at RVA 0x20ec // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::.ctor() IL_0006: ret } // end of method Program::.ctor // method line 2 .method private static hidebysig default int32 Main (string[] args) cil managed { // Method begins at RVA 0x20f4 .entrypoint // Code size 13 (0xd) .maxstack 8 IL_0000: ldarg.0 IL_0001: ldlen IL_0002: conv.i4 IL_0003: brtrue IL_000b IL_0008: ldc.i4.s 0x2a IL_000a: ret IL_000b: ldc.i4.0 IL_000c: ret } // end of method Program::Main } // end of class Program