Oct 31

Written by: Soul Solutions
Tuesday, 31 October 2006 

BronwenWeeGo.jpg

Manage a group of associated data in a .NET Framework application by using collections. (Refer System.Collections namespace)
• 
ArrayList class - implements IList
• Collection interfaces 
  ICollection - defines size, enumerators, and syncronisation of collections
  IComparer - used with Array.Sort and Array.BinarySearch.  Allows customisation of sort order of a collection
  IList- collection of objects accessed by index
  IEnumerable - exposes enumerator, for simple iteration over collection
  IHashCodeProvider (obsolete)
  IEqualityComparer - V2 - customised equality comparison for collections
• Iterators 
  IDictionaryEnumerator - read data in a collection.  If modifying the collection the enumerator becomes invalid (InvalidOperationException).
  IEnumerator - simple iteration over collection
• Hashtable class
• CollectionBase class and ReadOnlyCollectionBase class
• DictionaryBase class and DictionaryEntry class
• Comparer class
• Queue class
• SortedList class
• BitArray class
• Stack class
 

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
Copyright © 2002-2009 Soul Solutions Pty Ltd. | Login