DotNetBlog der DotNet-Blog Alles rund um Microsoft .NET – von  Sascha H. Baumann

MCTS Exam 70-536 – Generic Collections

1 Star2 Stars3 Stars4 Stars5 Stars (Noch nicht bewertet. Seien Sie der/die Erste !)
Loading ... Loading ...

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:
    1. List<T>
      Comparable to StringCollection and ArrayList
    2. Dictionary<T,U>
      Comparable to NameValueCollection, StringDictionary,OrderedDictionary,HybridDictionary, ListDictionary and Hashtable
    3. Queue<T>
      Comparable to normal Queue
    4. Stack<T>
      Comparable to normal Stack
    5. SortedList<T, U>
      Comparable to normal SortedList
    6. Collection<T>
      Comparable to CollectionBase
    7. ReadOnlyCollection<T>
      Comparable to ReadOnlyCollectionBase
  • 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 :o )
Share and Enjoy:
  • Digg
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • MisterWong.DE
  • Technorati
  • Webnews.de
  • YahooMyWeb

Hinterlasse eine Antwort

CAPTCHA-Bild CAPTCHA Audio
Bild neuladen

Bad Behavior has blocked 35 access attempts in the last 7 days.