Common Language Runtime (CLR) in C# (original) (raw)

Last Updated : 28 Apr, 2026

The Common Language Runtime (CLR) is a component of the Microsoft .NET Framework that manages the execution of .NET applications. It is responsible for loading and executing the code written in various .NET programming languages, including C#, VB.NET, F#, and others.

Working of CLR

**1. Compilation and Execution:

**2. Services Provided by CLR:

**3. Cross-Language Integration:

CLR allows code from different .NET languages (C#, VB.NET, F#) to work together seamlessly through the Common Type System (CTS).

Key Components

As the name suggests, Common means CLR provides a common runtime or execution environment as there are more than 60 .NET programming languages.

The table below illustrates the CLR versions in .NET framework.

CLR Versions .NET Framework Versions
1.0 1.0
1.1 1.1
2.0 2.0
2.0 3.0
2.0 3.5
4 4
4 4.5 (also 4.5.1 & 4.5.2)
4 4.6 (also 4.6.1 & 4.6.2)
4 4.7 (also 4.7.1 & 4.7.2)
4 4.8 (also 4.8.1)
CoreCLR 6
CoreCLR 8.0
CoreCLR 9.0

Below diagram illustrate how CLR is associated with the operating system/hardware along with the class libraries. Here, the runtime is actually CLR.

Role of CLR in the Execution of a C# Program

Benefits