PrepAway - Latest Free Exam Questions & Answers

Which type of collection should you use?

You need to store the values in a collection.
The solution must meet the following requirements:
The values must be stored in the order that they were added to the collection.
The values must be accessed in a first-in, first-out order.
Which type of collection should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
SortedList

B.
Queue

C.
ArrayList

D.
Hashtable


Leave a Reply