C# Programming - Collection Classes - Discussion

Discussion Forum : Collection Classes - General Questions (Q.No. 4)
4.
In which of the following collections is the Input/Output based on a key?
  1. Map
  2. Stack
  3. BitArray
  4. HashTable
  5. SortedList
1 and 2 only
2 and 3 only
1, 2 and 3 only
4 and 5 only
All of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

K2u2007 said:   10 years ago
The Non-Generic Collection Classes.

With the exception of BitArray, described later, the non-generic collection classes are summarized here:

ArrayList: A dynamic array. This is an array that can grow as needed.
Hashtable: A hash table for key/value pairs.
Queue: A first-in, first-out list.
SortedList: A sorted list of key/value pairs.
Stack A first-in, last-out list.

Gloops said:   10 years ago
How do you insert an element in a Map without a key ?

Post your comments here:

Your comments will be displayed after verification.