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?
- Map
- Stack
- BitArray
- HashTable
- SortedList
Discussion:
2 comments Page 1 of 1.
K2u2007 said:
1 decade 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.
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:
1 decade ago
How do you insert an element in a Map without a key ?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers