Complete the code to declare a simple C# class.
public class [1] { public int Number { get; set; } }
The class name should be a valid identifier like MyClass. Keywords like void or types like int cannot be used as class names.
Complete the code to compile C# source into an intermediate language.
// The C# compiler converts source code into [1] code.
C# source code is compiled into Intermediate Language (IL), which is CPU-independent code executed by the CLR.
Fix the error in the statement about CLR execution.
The CLR executes [1] code directly on the CPU.The CLR executes machine code, which is generated by just-in-time (JIT) compilation from intermediate language code.
Fill both blanks to describe the compilation and execution process.
C# source code is compiled into [1] code, which the CLR then [2] into machine code at runtime.
The C# compiler produces intermediate language code. The CLR uses just-in-time (JIT) compilation to convert this IL into machine code when the program runs.
Fill all three blanks to complete the explanation of C# execution on CLR.
The C# compiler generates [1] code, which is stored in [2] files. At runtime, the CLR uses [3] compilation to convert this code into machine instructions.
C# source is compiled into intermediate language code stored in assembly files (DLL or EXE). The CLR uses just-in-time compilation to convert IL to machine code when running the program.