Derive a KeyedList<TKey, TValue> generic class from the List<T> base class

This sample shows how to derive a generic class from another generic collection class and add new functionality to the derived class. Sample usage and test driver code is attached. Many nuances with using C# generics are demonstrated in the source.

C# (117.5 KB)
 
 
 
 
 
(1)
621 times
Add To Favorites
7/19/2012
E-mail Twitter del.icio.us Digg Facebook