Javatpoint Logo
Javatpoint Logo

.NET Common Language Runtime (CLR)

.NET CLR is a run-time environment that manages and executes the code written in any .NET programming language.

It converts code into native code which further can be executed by the CPU.

.NET CLR Functions

Following are the functions of the CLR.

  • It converts program into native code.
  • Handles Exceptions
  • Provides type safety
  • Memory management
  • Provides security
  • Improved performance
  • Language independent
  • Platform independent
  • Garbage collection
  • Provides language features such as inheritance, interfaces, and overloading for object-oriented programmings.

.NET CLR Versions

The CLR updates itself time to time to provide better performance.

.NET version CLR version
1.0 1.0
1.1 1.1
2.0 2.0
3.0 2.0
3.5 2.0
4 4
4.5 4
4.6 4
4.6 4

.NET CLR Structure

Following is the component structure of Common language Runtime.

Net Common Language Runtime

Base Class Library Support

It is a class library that provides support of classes to the .NET application.

Thread Support

It manages parallel execution of the multi-threaded application.

COM Marshaler

It provides the communication between the COM objects and the application.

Type Checker

It checks types used in the application and verify that they match to the standard provided by the CLR.

Code Manager

It manages code at execution run-time.

Garbage Collector

It releases unused memory and allocate that to a new application.

Exception Handler

It handles exception at runtime to avoid application failure.

Class Loader

It is used to load all classes at run time.

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA