How many levels of compilation happens in .NET Framework

  1. One

  2. Two

  3. Three


Correct Option: B

AI Explanation

To answer this question, we need to understand the compilation process in the .NET Framework.

The .NET Framework uses a two-step compilation process.

The first step is the compilation of source code into an intermediate language (IL) known as Microsoft Intermediate Language (MSIL) or Common Intermediate Language (CIL). This step is performed by the compiler, which converts the source code into IL instructions.

The second step is the Just-In-Time (JIT) compilation, which occurs at runtime. The IL code is compiled into machine code specific to the target platform. This compilation is performed by the Common Language Runtime (CLR), which is responsible for executing .NET applications.

Therefore, the correct answer is B) Two, as there are two levels of compilation in the .NET Framework.

Find more quizzes: