Tuesday, March 30, 2010

Non-Generic Vs. Generic Type

Non-GenericSimilar Generic Type
ArrayListList<T>
HashtableDictionary<TKey,TValue>
SortedListSortedList<TKey,TValue>
QueueQueue<T>
StackStack<T>
IenumerableIEnumerable<T>
ICollectionN/A (use IEnumerable<T>anything that
extends it)
N/AICollection<T>
IlistIList<T>
CollectionBaseCollection<T>
ReadOnlyCollectionBaseReadOnlyCollection<T>
DictionaryBaseN/A (just implement IDictionary<TKey,TValue>
N/ASortedDictionary<TKey,TValue>
N/AKeyedCollection<TKey,TItem>
N/ALinkedList<T>

No comments: