Compiler
Compiler
DATE 9-11-2024
1. Common Language Runtime (CLR): This is the execution engine that handles
running applications. The CLR manages memory, thread execution, code safety, compilation,
and other system services. It provides services such as garbage collection, exception handling,
and security.
1. Source code :Developers write code in languages like C#, VB.NET, or F#.
2. Compilation to Intermediate Language (IL ): The source code is compiled into
an intermediate language (IL), also known as managed code, by the respective language
compiler.
5. Execution on OS: Finally, the machine code runs on the underlying operating system.
The CLR also ensures cross-language interoperability, allowing code in different languages to
interact within the same application.
Simplified Diagram of the .NET Framework
While I can’t directly insert images, here’s a general structure you might use: