What is the C# compiler’s direct output when it compiles source code into an assembly?
Correct answer C. Common Intermediate Language (CIL) plus metadata
The C# compiler does not produce CPU-specific machine code. It emits Common Intermediate Language (also called MSIL) together with metadata describing the types. At run time the CLR's just-in-time compiler turns the CIL into native code for the actual processor. Ahead-of-time options exist, but the normal compiler output is CIL, which is why one assembly can run on different architectures.
Answer checked How we write and check questions
Discussion