June 2006
Intermediate to advanced
1344 pages
42h 52m
English
The System.Collections.Generic namespace in the FCL is a new addition for .NET 2.0. This namespace contains generic classes that allow us to create collections of specific types. As you saw in Fig. 26.2, many of the classes are simply generic versions of non-generic collections. A few classes implement new data structures. In this section, we demonstrate generic collections SortedDictionary and LinkedList.
A dictionary is the general term for a collection of key–value pairs. A hash table is one way to implement a dictionary. The .NET Framework provides several implementations of dictionaries, both generic and non-generic (all of which implement the IDictionary interface in Fig. ...
Read now
Unlock full access