Tuesday 24 September 2013

What is Intermediate Language in .NET Framework?

Ques:-What is  Intermediate Language in .NET Framework?

Ans:-When compile to manage code , the compiler translate your source code into Microsoft Intermediate Language(MSIL) .which is CPU independent set of instruction that can be efficiently can be converted into native code. MSIL includes instruction  for loading, storing , initializing and calling method on object, as well as instruction for logical and arithmetic operators , control flow, direct memory access , Exception handling other operations..Before code can be run MSIL must be converted into CPU specific code, usualy by a JIT compiler. Because CLR supplies one or more JIT complier for each computer architecture.

When a complier produce MSIL , it also produce META DATA. metadata  describe the types in your code, including the defintion of each type.The MSIL and meta data are conatined in the Poratble Executable)(PE) file.

No comments:

Post a Comment