Posted By : Manish Kumar Gautam
Posted On : 8 December 2014
Keywords : IL, Intermediate Language, IL Intermediate Language, Why IL is required in .Net, Why Intermediate Language is reuqired in .Net

.Net IL ( Intermediate Language )



Intermediate Language In .Net Framework

Let just understand this by using an example-

Suppose we have to develop a Internet Video Downloader Application for a particular client.

Things to keep remember:

While developing and building we should know about the specification for the client machine.

  1. What type of computer he has?
  2. What type of Operating System (O.S.) use by them?
  3. What type of RAM he has?
  4. What type of process he has?


Because machine code completely dependent on the specification of the computer. A normal machine doesn't know about IL code or CSC code or VBC code it only and only understand machine language. And the developer is totally unaware of the client machine as both are at different locations. So it is not possible for any developer to tackle this problem. So, Microsoft introduces the concept CLR that is the execution engine for .NET application and it serve as the interface between Application and O.S. So, that's why the language compiler convert the source code into IL. This IL is taken by JIT (JUST IN TIME COMPILER). Wait... and see the Figure 4 to proceed and understood. Its the JIT who took the responsibility who convert the IL code into the machine code. Now this JIT at run-time convert the IL code into machine code which actually getting executed according to the client machine configuration. IL is also known as MSIL and CIL i.e., Microsoft Intermediate Language and Common Intermediate Language.


Manish Kumar Gautam

Manish Kumar Gautam Lives in Gazaiabad, India. He studied computer science and Engineering at Inderprasta Engineering College & Graduated In the year 2010. He Enjoys Music and is the lead and rythm guitarist at BLuE pArAdIgM-The Band, Music Band.