What is CLR in .NET Framework?
Answer
While installing .NET Framework in our system, there are two important components, which are installed and are given below.
- Framework Class Library.
- CLR (Common language runtime).
CLR stands for Common Language runtime. It is the runtime environment provided by the .NET Framework. The main objective of the CLR is to convert the compiled code (MSIL) i.e. (dll or .exe) based on the Application into the native code/machine code.
What is native code/machine code?
Answer
Since our operating system understands only 0’s and 1’s, native code is the code,which can be understood by the operating system. It is also called the managed code.
Advantages of CLR
- Performance improves
- Garbage collection.
- The ability to easily use the components developed in other languages.
- Extensible types provided by the class library.
If you want more information on the CLR and with the use of CLR in .NET program execution, you can visit the link.