Which collection type should you use?

collection of Order objects.
The collection must meet the following requirements:
-Use strongly typed members.
-Process Order objects in first-in-first-out order.
-Store values for each Order object.
-Use zero-based indices.
You need to use a collection type that meets the requirements.
Which collection type should you use?

collection of Order objects.
The collection must meet the following requirements:
-Use strongly typed members.
-Process Order objects in first-in-first-out order.
-Store values for each Order object.
-Use zero-based indices.
You need to use a collection type that meets the requirements.
Which collection type should you use?

A.
Queue <T>

B.
SortedList

C.
LinkedList<T>

D.
HashTable

E.
Array <T>

Explanation:
Like an E-Mail Program, First In, First Out is representative of a Queue Object



Leave a Reply 2

Your email address will not be published. Required fields are marked *


abhilash

abhilash

A.
Queue

vivek

vivek

FIFO means Queue, strong type means

so A.Queue is correct