C# ma jikompilax direttament għal machine code. Jikompila għal IL (Intermediate Language) — bytecode indipendenti mill-platform — li l-CLR jitbiegħ, billi juża JIT (Just-In-Time) compilation biex jittrasla IL għal native machine code waqt il-runtime. AOT (Ahead-Of-Time) hija alternattiva li tikkompila għal native code waqt il-build time.
It-pipeline tal-eseċuzzjoni
C# source (.cs)
│ C# compiler (roslyn)
▼
IL bytecode (in a .dll/.exe assembly) ← platform-INDEPENDENT intermediate code
│ CLR loads it; JIT compiles IL → native code AT RUNTIME (per method, as called)
▼
Native machine code → executes on the CPU
