HybridDictionary class - Definition - Csharp.Net
Q. You need to select a class that is optimized for key - based item retrieval from both small and large collections. Which class should you choose?- Published on 31 Aug 15a. OrderedDictionary class
b. HybridDictionary class
c. ListDictionary class
d. Hashtable class
ANSWER: HybridDictionary class
HybridDictionary classes optimized for key-based item retrieval from both small and large collections. If the numbers of items are less then it works as ListDictionary and only when the list becomes too large it converts automatically into a Hashtable internally.
If you do not know how large your collection is, then HybridDictionary class should be used.