Oct 31

Written by: Soul Solutions
Tuesday, 31 October 2006 

BronwenWeeGo.jpg

Improve type safety and application performance in a .NET Framework application by using generic collections. (Refer System.Collections.Generic namespace) all V2 classes pretty much impmented as generic versions of the 1.1 classes.  Faster because there is no boxing/unboxing
• Collection.Generic interfaces
• Generic Dictionary
• Generic Comparer class and Generic EqualityComparer class
• Generic KeyValuePair structure
• Generic List class, Generic List.Enumerator structure, and Generic SortedList class - Sorted List uses less membery than sorted Dictionary, SortedDictionary has faster insert and delete on unsorted data.  Sorted List populated all at once is faster than dictionary.
• Generic Queue class and Generic Queue.Enumerator structure
• Generic SortedDictionary class
• Generic LinkedList
• Generic Stack class and Generic Stack.Enumerator structure

 

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