In .NET terminology, code that targets and executes under the Common Language Runtime (CLR) is known as:

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:

  • We need the standard term for CLR-targeting code.

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:

  • Unmanaged/native: outside CLR.
  • Distributed/legacy: unrelated descriptors.

Common Pitfalls:Equating “native” with “managed” — they are distinct.

Final Answer:Managed code

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion