Define clr, DOT NET Programming

The Full form of CLR is Common Language Runtime and it is  the heart of the .NET framework. All Languages have its own runtime and its the responsibility of the runtime to take care of the code execution of the program. For ex.  VB6 has MSVBVM60.DLL, VC++ has MSCRT40.DLL,  Java has Java Virtual Machine etc.On the same way  .NET has CLR.The responsibilities of the CLR are as follows:

Garbage Collection :- CLR automatically manages memory thus prevents  memory leaks. When the object is not referred GC automatically releases those memories results in efficient memory management.

Code Access Security :- CAS has the rights to program depending on the security configuration of that machine.  For Ex.  the program has the  right to edit or create a new file but the security configuration of machine does not allow the program to delete the  file. CAS take care that code runs under the environment of machines security configuration.

Code Verification :- It ensures proper code execution and the type safety while code runs. It also prevents the source code to perform illegal operation such as accessing invalid memory locations etc.

IL( Intermediate language ) to native translators and optimizer's :- By using JIT, CLR compiles the IL code to machine code and executes them. CLR also determines, depending on the platform what is optimized way of running the IL code.

Posted Date: 9/18/2012 3:28:23 AM | Location : United States







Related Discussions:- Define clr, Assignment Help, Ask Question on Define clr, Get Answer, Expert's Help, Define clr Discussions

Write discussion on Define clr
Your posts are moderated
Related Questions
Question: (a) Outline four classes that allow you to work with File Streams. (b) (i) What potential problem can arise when you change items stored in an Application State

Describe the disconnected architecture of ADO.NET's data access model. ADO.NET maintains a disconnected database access model, which means, the application never remains linked

how to write a postfix expression calculator program using c#

Project Description: I need support on .net c# automation testing Additional Project Description: Project is on Visual Studio, creating Automation and TFS Test development

Assembly: 1) Assembly is a unit of deployment such as EXE or a DLL. 2) An assembly consists one or more files (dlls, exe's, html files etc.),& represents a group of resources,

Project Description: I need complete school management software, where user will get four module for their enquiry, 1> Student management 2> Staff complete payrole system

What is the main difference between Gridlayout and FlowLayout? The Grid Layout provides absolute positioning for the controls placed on the page. The Developers that have their

When we create a private constructor, we can not create object of the class directly from the client. So you will use the private constructors whenever you do not want instances of

What is DTD? The Document Type definition (DTD) defines how your XML should structure. For illustrate in the above XML we want to make it compulsory to provide "qty" and "total

Print Triangle in Reverse Pattern - C# Program Need the code of C# Program for Print Triangle in Reverse Pattern.