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
Difference between VB.NET and C# This is the main debatable issue in .NET community and everyone treat their languages like religion. It is a very important matter which lan

What is an XMLReader Class? This is an abstract class available from the System.XML namespace. The XML reader works on a read-only stream browsing from one node to another in a

I need Windows 8.1 Project, Asset management slate App Project Description: We are seeking a Windows 8 app developer with PROVABLE experience to prepare a project and asset m

What Is The Difference Between ViewState and SessionState? View State persist the values of controls of certain page in the client (browser) when post back operation done. When

How do we enable SQL Cache Dependency? Below are some of the steps to enable the SQL Cache Dependency:- Enable the notifications for database. Enable the notificatio

Define XPATH. XPATH is an XML query language to select specific section of an XML document. By using XPATH you can address or filter elements and text in a XML document. For il

Screen sharing Training software like GOTOMEETING Project Description: We do have online trainings business; we are providing trainings with webex or gotomeeting at this mome

What is ReaderWriter Locks? You may want to lock the resource only whenever data is being written and permit multiple clients to parallel read data when data is not being updat

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