Compilation in .Net

Compilation 

1. From the source code, the appropriate language compiler generates Microsoft Intermediate Language (MSIL) Code which is further used for the creation of an EXE or DLL.

Example

To compile VB.Net source code VB.Net Compiler is used.

2. The CLR processes at runtime Converts MSIL to Machine code with help of Just in Time(JIT) Compiler.

Common Language Runtime (CLR):

  • Job of CLR to translate MSIL to Machine code (Executable Code) using “Just In Time (JIT)” Compiler.
  • CLR provides Memory Management ,Type Safety and Exception Handling.
Ebook Download
View all
Learn
View all