Home > DeveloperSection > Interviews > What is Common Language Runtime ?

Posted on    July-21-2016 12:05 AM

 .NET .NET  ASP.Net 
Ratings:
 2 Answer(s)
  153  View(s)
Rate this:

Elena Glibart
Elena Glibart

Total Post:6

Points:30
Posted on    July-21-2016 12:05 AM

what is Common Language Runtime.



CLR: - is a heart of the .Net framework. CLR is executing engine in .Net framework. It is run time environment that takes responsible to execute code in to native code. It has some services provided: Memory management, Type safety, Manage exceptions and errors.


Sagar kaushal
Sagar kaushal

Total Post:2

Points:10
Posted on    August-11-2016 6:40 AM

  1. The .NET Framework provides a run-time environment called the common language runtime, which runs the code and provides services that make the development process easier.
  2. It is the job of the CLR to translate the intermediate code into executable code when a program is run. Thus, any program compiled to MSIL can be run in any environment for which the CLR is implemented.
  3. The runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. Objects whose lifetimes are managed in this way are called managed data.
  4. Garbage collection eliminates memory leaks as well as some other common programming errors. 

Modified On Aug-11-2016 06:45:05 AM

Don't want to miss updates? Please click the below button!

Follow MindStick