How source code is compiled to managed code?

.Net allows developers to use different language for developing application. Each language has it own compiler to compile the source code in to IL or managed. Managed module is a standard Windows portable executable (PE) file that requires the CLR to execute. We need to install the CLR (.Net Framework) on our machine to execute any managed module.
Managed Module is composed of the following parts: .    PE header - The PE header indicates the type of file--GUI, CUI, or DL and also has a timestamp indicating when the file was built.
.    CLR header - It includes the version of the CLR required to execute, entry point method(Main method), resources, strong name etc
.    Metadata - describe the types and members defined in source code
.    Intermediate Language (IL) Code - code that was produced by the compiler as it compiled the source Code
SourceCode2ManageCode

Comments

Technology