MCTS Exam 70-536 – Generic Collections
Good News everyone !
For the fact that I’m faster in reading then in wring, I made a lot of progress in exam preparation and I’m a bit behind with my notes. Anyway, I share my notes about this topic with you today
General
- Using Generics can improve performance by reducing the number of cast-operations.
- Common generic Collections:
- List<T>
Comparable to StringCollection and ArrayList - Dictionary<T,U>
Comparable to NameValueCollection, StringDictionary,OrderedDictionary,HybridDictionary, ListDictionary and Hashtable - Queue<T>
Comparable to normal Queue - Stack<T>
Comparable to normal Stack - SortedList<T, U>
Comparable to normal SortedList - Collection<T>
Comparable to CollectionBase - ReadOnlyCollection<T>
Comparable to ReadOnlyCollectionBase
- List<T>
- You can Use Generics with any build in and Custom Type
- Is’nt there more ? Lots of code samples which are not part of my notes
)


