We will conclude with a discussion on some related tools
like ILASM, ILDASM, NGEN, etc, that ship with the Micorosft.NET Framework SDK. The
Microsoft Intermediate Language Assembler or the ILASM tool is used to package
the MSIL code and store it in a file in the Portable Executable (PE) format. The
Microsoft Intermediate Language Disassembler or the ILDASM tool is used to retrieve
the MSIL code from a PE file. According to MSDN, "the MSIL Disassembler is
a companion tool to the MSIL Assembler (Ilasm.exe). Ildasm.exe takes a portable
executable (PE) file that contains Microsoft intermediate language (MSIL) code
and creates a text file suitable as input to Ilasm.exe." The Native Image
Generator or the NGEN tool is used to generate native code from the MSIL code.