Thursday 12 June 2014

Explain Code Execution Process in .Net?

Code Execution in .Net
  • In .Net code compiled twice
  • In first compilation source code is compiled by respective language compiler and an intermediately code is generated known as MSIL.
  • In second compilation MSIL is converted into Native code using CLR.
 
       MSIL : Microsoft Intermediate language
       CLR   : Common Language Runtime

  1. Always first compilation is slow and second compilation fast.
  2. MSIL is only CPU Independent & will run only on windows OS only using .Net framework, because .Net framework is designed for windows Operating System only.
  3. There is another company known as Novel designed separate framework known as MONO framework using this framework we can run MSIL on different Operating Systems like Linus, Solaris, Mac OS,BSD , OSX etc.


No comments:

Post a Comment