C# Interview Question #133
What is Intermediate Language (IL) in .NET?
Reflection, Dynamic & Runtime Senior Advanced
Quick Interview Answer
C# source code is normally compiled into Common Intermediate Language, commonly called IL or CIL, together with metadata.
Detailed Explanation
C# source code is normally compiled into Common Intermediate Language, commonly called IL or CIL, together with metadata.
IL is CPU-independent. At runtime, the .NET runtime typically uses Just-In-Time compilation to convert IL into native machine code for the current platform.
This architecture allows .NET assemblies to remain largely platform-independent while the runtime handles platform-specific execution.