Common Language Runtime – CLR in .Net.

 CLR in .Net
  • The Common Language Runtime (CLR) is an Execution Environment.
  • The CLR is a multi-language Execution environmen.

  • CLR is the engine that compiles the source code in to an intermediate language code. This intermediate language code is called the Microsoft Intermediate Language(MSIL) also called Common Intermediate Language (CIL).
  • During Execution of program this MSIL Code converted to Machine Level Code OR Native Code with the Help of Just In Time Compiler.
  • The main function of Common Language Runtime (CLR) is to convert the Managed Code into native code and then execute the Program.

function of Common Language Runtime (CLR)
  • Tack care of Execution of Code

  • Manages memory while execution of program.
  • Thread execution
  • Garbage Collection (GC)
  • Exception Handling
  • Clean up the unused Objects

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha *