Microsoft
98-372 · Question #138
You want to create a class named ShoppingCart that has a type argument named TItem. The TItem type argument must be a value type. Which code segment should you use to define the ShoppingCart class?
The correct answer is A. Option A. See the full explanation below for the reasoning.
Question
You want to create a class named ShoppingCart that has a type argument named TItem. The TItem type argument must be a value type. Which code segment should you use to define the ShoppingCart class?
Exhibit
Options
- AOption A
- BOption B
- COption C
- DOption D
How the community answered
(38 responses)- A74% (28)
- B5% (2)
- C3% (1)
- D18% (7)
Community Discussion
No community discussion yet for this question.
