Introduction to C#
- slide 5 : 43
C# Compilation and Execution
The Common Language Infrastructure supports a two-step compilation process
Compilation
The C# compiler: Translation of C# source to CIL
Produces
.dll
and
.exe
files
Just in time
compilation: Translation of CIL to machine code
Execution
With interleaved
Just in Time
compilation
On Mono: Explicit activation of the interpreter
On Window: Transparent activation of the interpreter
.dll
and
.exe
files are - with some limitations - portable in between different platforms