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
What is lazy initialization? Lazy initialization is a process by which an object is not initialized until it is first called in your code. The .NET 4.0 introduces a new wrapper

What are wait handles? The Wait handles sends signals of a thread status from one thread to another thread. There are 3 kind of wait modes:- A)WaitOne. B)WaitAny. C)Wa

Project Description: We are seeking someone who can write a program in C# or C++. The idea is to prepare the program using a Cross Platform environment like Mono or Qt which

What's difference between Datagrid, Datalist and repeater? The Datalist ,Datagrid, and Repeater are all ASP.NET data Web controls. They have many things in common such as Da

What is the difference between Shadowing and Overriding? The main basic difference between shadowing and overriding are as follows:- 1) The Overriding redefines only the imp

Converting Rs. to Paisa - C# Program Need the code of C# Program for Converting Rs. to Paisa.


Question: (a) Using the help of a diagram, describe the layer of the .NET framework that sits between Visual Basic.NET 2005 and the operating system. (b) Explain the charac

The ADO.NET gives the SqlCommand object which gives the functionality of executing the stored procedures. CREATE PROCEDURE SelectByEmployee @FirstName nvarchar(200) AS Se

The costumer is an application that tracks production costuming, structure and other related pieces. We discussed this in detail and you have commentary and video to define the pro