C# நேரடியாக machine code-ல் compile ஆகாது. இது IL (Intermediate Language) — ஒரு platform-independent bytecode — ஆக compile ஆகிறது, இதை CLR இயக்குகிறது, JIT (Just-In-Time) compilation ஐப் பயன்படுத்தி IL ஐ runtime இல் native machine code ஆக மாற்றுகிறது. AOT (Ahead-Of-Time) என்பது build time இல் native code ஆக compile செய்யும் மாற்று வழிமுறையாகும்.
செயல்பாட்டு pipeline
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
