Code Execution in .NET

Question 1: What is .NET?

Answer: .Net is a Framework Tool Which supports many programming languages. .Net supports 61 programming Languages. In 61 Programming Languages 9 are designed by Microsoft and 52 are designed by non microsoft. .Net is very much powerful tool used to build Distributed Computing applications.

Question 2: Advanteges Of .NET?

Answer:
  • Platform Independency
  • Security
  • Automatic Memory Management
Question 3: What is paltform, platform dependency and platform independency ??

Answer: Platform--> platform is the combination of CPU Arcitecture and Operating System Arcitecture.

Platform Dependency--> Code that has been generated by the language compiler doesn't run/execute on a different processor and in different operating system than which it has been compiled, this nature is known as platform dependency.

Platform Independency--> If the code generated by the language compiler (LC) Compilation runs on any processor and in operating system than which it has been compiled then it is known as platform Independent.

Question 4: Code execution in .net ?

Answer: In .net code is compiled twice. In first compilation, Source code is compiled by respective language compiler and an intermediately code is generated known as MSIL. In second Comilation MSIL is converted into native code using CLR. 

Always First compilation is slow and the second compilation is fast.

MSIL is 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 by MONO Framework using this framework we can run MSIL on different operating system like Linux, MACOS, Solaris, BSD, OSX etc.

Ebook Download
View all
Learn
View all