Dictionary Class
-
I need some reassurance that I'm not blind... Is there no "Dictionary" class in the System.Collections namespace, but rather only the DictionaryBase class that requires you to code your own derrived class? Mike Stanbrook mstanbrook@yahoo.com
-
I need some reassurance that I'm not blind... Is there no "Dictionary" class in the System.Collections namespace, but rather only the DictionaryBase class that requires you to code your own derrived class? Mike Stanbrook mstanbrook@yahoo.com
You can use a hashtable like a you would an arraylist, or one of these: HybridDictionary Implements IDictionary by using a ListDictionary while the collection is small, and then switching to a Hashtable when the collection gets large. ListDictionary Implements IDictionary using a singly linked list. Recommended for collections that typically contain 10 items or less. PropertyCollection Contains the properties of a DirectoryEntry. PropertyDescriptorCollection Represents a collection of PropertyDescriptor objects. SortedList Represents a collection of key-and-value pairs that are sorted by the keys and are accessible by key and by index. Eish I must get sleep :zzz: You would swear South Afican time was GMT - 6 :eek: WebBoxes - Yet another collapsable control, but it relies on a "graphics server" for dynamic pretty rounded corners, cool arrows and unlimited font support.
-
I need some reassurance that I'm not blind... Is there no "Dictionary" class in the System.Collections namespace, but rather only the DictionaryBase class that requires you to code your own derrived class? Mike Stanbrook mstanbrook@yahoo.com
look in
System.Collections.Specialized
"When the only tool you have is a hammer, a sore thumb you will have."