I'm still learning C# and was surprised to find out that a List<T>
is much more like a std::vector
than a std::list
. Can someone describe all the C# collections in terms of the STL (or if STL comparisons are difficult, standard conceptual data types with Wikipedia links? I expect the reference would be widely useful.
A minimal list of collections of interest include (feel free to add others):
- Array
- List
- ArrayList
- HashTable
- Dictionary
- ListDictionary
- SortedDictionary
- SortedList
- Queue
- Stack