CLR(Common Language Runtime) :- This is a special feature of the .Net framework. That manages the execution of .NET programs. The JIT(just-in-time compiler) converts the compiled code into the machine instructions. These are services that's provided by CLR include memory management, exception handling, type safety, etc.
CLR Functions
- It converts the program into native code.
- Handles Exceptions
- Provides type-safety
- Memory management
- Provides security
- Improved performance
- Language independent
- Platform independent
- Garbage collection
- Provides language features such as inheritance, interfaces, and overloading for object-oriented programming.
The Structure of CLR
- Thread Support
- COM Marshaler
- Type Checker
- Code Manager
- Garbage Collector
- Exception Handler
- ClassLoader