Sunday, July 16, 2023

What is .NET runtime?




.Net Runtime



The .NET runtime, also called Common Language Runtime (CLR), compiles and executes .NET programs on different operating systems.

Just-in-time compilation

The CLR compiles code as the developer writes it. During compilation, CLR translates the code into Common Intermediate Language (CIL). For example, code written in C# has English-like syntax and words. .NET compiles or translates this code into CIL. CIL code looks different because it is a lower-level machine code language.

Execution

.NET runtime manages the execution of CIL code. CIL is cross-platform compatible, and any operating system can process it. Cross-platform compatibility refers to an application’s ability to run on multiple different operating systems with minimal modifications. For example, an application in C# can run on Windows, Linux, or macOS without any code modifications. Such an application is called a cross-platform application.



No comments:

Post a Comment

  Microsoft .Net Technologies .NET is an open-source platform for building desktop, web, and mobile applications that can run natively on an...