Search code examples
c#cilcscintermediate-language

C# compiling to MSIL code


Does the Microsoft C# compiler (CSC.exe) have an option to output the Intermediate Language files? Kind of like the -S switch does in GCC?


Solution

  • You can use ildasm.exe to extract the IL from the assembly compiled by csc.exe.