Difficulty: Easy
Correct Answer: 1 and 3 only
Explanation:
Introduction / Context:The System.Collections.Generic namespace provides strongly typed collections. Knowing what types actually exist there is a common interview and exam topic.
Given Data / Assumptions:
Concept / Approach:System.Collections.Generic includes Stack
Step-by-Step Solution:
Identify known types: StackVerification / Alternative check:Browse the namespace reference listing; you will also see List
Why Other Options Are Wrong:They include types that are not part of the namespace.
Common Pitfalls:Assuming “Tree” exists because many data structures use trees internally. The BCL exposes dictionaries and sorted lists, not a raw tree interface.
Final Answer:1 and 3 only
Discussion & Comments