Common Language Runtime (CLR)

  • The Common Language Runtime (CLR) is an Execution Environment.
  • It works as a layer between Operating Systems and the applications written in .Net languages that conforms to the Common Language Specification(CLS).
  • The main function of Common Language Runtime (CLR) is to convert the managed code into native code and then execute the program.
  • The CLR's Just In Time(JIT) compilation converts Intermediate Language (MSIL) to native code on demand at application run time.
  • During the execution of the program, the CLR manages memory,Thread execution,Garbage Collection (GC), Exception Handling, Common Type System (CTS), code safety verifications, and other system services.
  • The CLR defines the CTS,which is a standard type system used by all .Net languages. That means all .Net programming languages uses the same representation for common Data Types.
Posted on by