Microsoft
98-372 · Question #205
You want to use a collection to store Order items. The collection must be thread-safe and must provide access to the items in a last-in-first-out sequence. Which type of collection should you use?
The correct answer is A. ConcurrentStack. See the full explanation below for the reasoning.
Question
You want to use a collection to store Order items. The collection must be thread-safe and must provide access to the items in a last-in-first-out sequence. Which type of collection should you use?
Options
- AConcurrentStack
- BConcurrentQueue
- CNameValueCollection
- DLinkedList
How the community answered
(20 responses)- A75% (15)
- B5% (1)
- C15% (3)
- D5% (1)
Community Discussion
No community discussion yet for this question.