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
- Always first compilation is slow and second compilation fast.
- 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.
- 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