What is CLR?

Asked 07-Dec-2019
Viewed 662 times

1 Answer


0

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

  1. It converts the program into native code.
  2. Handles Exceptions
  3. Provides type-safety
  4. Memory management
  5. Provides security
  6. Improved performance
  7. Language independent
  8. Platform independent
  9. Garbage collection
  10. Provides language features such as inheritance, interfaces, and overloading for object-oriented programming.

The Structure of CLR

What is CLR?

  • Thread Support
  • COM Marshaler
  • Type Checker
  • Code Manager
  • Garbage Collector
  • Exception Handler
  • ClassLoader

What is CLR?