Difficulty: Easy
Correct Answer: Managed code
Explanation:
Introduction / Context:.NET distinguishes between code that runs under the CLR with services like type safety and garbage collection and code that does not.
Given Data / Assumptions:
Concept / Approach:Managed code is compiled to IL, verified, and executed under CLR supervision. Unmanaged/native code executes directly on the OS without CLR services.
Step-by-Step Solution:
Identify CLR-supervised code term: “managed code”.Eliminate distractors that describe environment or legacy status rather than CLR execution.Verification / Alternative check:Official .NET terminology consistently uses “managed code”.
Why Other Options Are Wrong:
Common Pitfalls:Equating “native” with “managed” — they are distinct.
Final Answer:Managed code
Discussion & Comments