Difficulty: Easy
Correct Answer: 1, 2, 3, 4
Explanation:
Introduction / Context:
The Common Language Runtime (CLR) is the virtual machine component of .NET responsible for executing managed code, enforcing type safety, and handling runtime services.
Given Data / Assumptions:
Concept / Approach:
Key CLR features include language neutrality via the Common Type System (CTS) and Common Language Specification (CLS), memory safety via verification, managed execution services, and automatic garbage collection. Unmanaged applications do not “run on” the CLR, although interop is supported.
Step-by-Step Solution:
Verification / Alternative check:
Managed vs unmanaged boundaries in .NET documentation confirm 1–4 as standard CLR responsibilities.
Why Other Options Are Wrong:
Common Pitfalls:
Assuming unmanaged code executes under the CLR rather than via interop.
Final Answer:
1, 2, 3, 4
Discussion & Comments