- 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
- IEnumerable - Supports method GetEnumerator ()
Collection
Subscribe to:
Post Comments
(
Atom
)
0 comments :
Post a Comment