Difficulty: Easy
Correct Answer: 1 and 4 Only
Explanation:
Introduction / Context:
This question checks fundamental facts about generics across the C# language and the .NET class libraries, especially interfaces, delegates, and collections.
Given Data / Assumptions:
Concept / Approach:
(1) True: Generics are a language (and CLR) feature enabling parameterized types. (2) False: C# supports generic interfaces, e.g., IEnumerable
Step-by-Step Solution:
Verification / Alternative check:
Open any project and use IEnumerable
Why Other Options Are Wrong:
They include false statements 2 and/or 3, or claim all/none are correct.
Common Pitfalls:
Confusing earlier .NET 1.x collections (non-generic) with the generic collections introduced later.
Final Answer:
1 and 4 Only
Discussion & Comments