Advanced
C#
Q63 / 100
What is IL (Intermediate Language) and how does the JIT compile it?
Correct! Well done.
Incorrect.
The correct answer is B) C# compiles to platform-neutral IL. The JIT compiles IL to native machine code on first method call, caching the result
B
Correct Answer
C# compiles to platform-neutral IL. The JIT compiles IL to native machine code on first method call, caching the result
Explanation
IL enables cross-language and cross-platform portability. The JIT (or AOT via NativeAOT) compiles IL to native code. Methods are JIT-compiled on first invocation.
Progress
63/100