Collection

  • A Collection is a specialized class that organizes and exposes a group of objects.
  • Various collection classes are ArrayList, BitArray, HashTable, SortedList, Queue and Stack.
  • They are all included in System.Collections namespace.
  • Like arrays, members of collections can be accessed by an index.
  • Unlike arrays, collections can be resized dynamically.
  • Collection Classes implement following interfaces…
    • IEnumerable - Supports method GetEnumerator ()
    • IEnumerator - Supports method MoveNext () and property Current

0 comments :

Post a Comment

> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger