GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet

 Print  |  
Question:  What is "Common Language Runtime" (CLR)?

Answer:

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately.

 

The CLR is the execution engine for .NET Framework applications. It provides a number of services, including:

 

·          Code management (loading and execution)

·          Application memory isolation

·          Verification of type safety

·          Conversion of IL to native code.

·          Access to metadata (enhanced type information)

·          Managing memory for managed objects

·          Enforcement of code access security

·          Exception handling, including cross-language exceptions

·          Interoperation between managed code, COM objects, and pre-existing DLL's (unmanaged code and data)

·          Automation of object layout

·          Support for developer services (profiling, debugging, and so on).



October 10, 2008 17:55:30 #8
 RanjeetaRajendran   Member Since: September 2008    Total Comments: 1 

RE: What is "Common Language Runtime" (CLR)?
 
CLR - Common Language Runtime...
Its a virtual machine of Microsoft's .Net,
During Compile time the Source code(C#,VB.Net..) is converted into Intermediate Language (MSIL),During Runtime this IL is converted to native code to Operating System by Just In Time (JIT) of CLR...
Apart from this,It alse includes following features like
*Memory management,
*Thread Management,
*Exception Handling,
*Garbage Collection,
*Security.
     

 

Back To Question