Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
why source code to MSIL and MSIL to native these two steps are required?
Posted
Comments
Programm3r 18-Jan-12 7:27am    
Could you please elaborate on your question. I have no idea what you are referring to.

1 solution

(IL) Intermediate Language, also Known as (CIL) Comman Intermediate Language, or popularly the (MSIL) Microsoft Intermediate Language, is the Core of the .NET Framework. All .NET source codes written in any .net supportive language (C#,VB.net etc), when compiled are converted to MSIL. This MSIL, when installed or at the Runtime, gets converted to machine code. The Runtime convertion of MSIL code to the machine code is handled by a component called as the Just In Time (JIT) Compiler.

If you have worked in C Language then you should know that compiled program in your PC dont run on any other PC. because it contains all your PC information. your CPU and all the Hardware. The Compiler converts it to machine code that is Binary code which is different for every PC.

So here .net Framework comes into the scenario.
It is required because your PC dont understand any language other than Binary(0 and 1). So when you Compile your Code it generates one IL code which is understandable to .net Framework. So when you run your program on other PC's it requires .net Framework. it is Mediator betweeb your Operating system and Application.

So I think you got your point.
 
Share this answer
 
Comments
Raj Dongare 10-Aug-12 6:58am    
Thanks Javed
Raj Dongare 5-Oct-12 1:09am    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900