You work as the application developer at Certkiller .com.
You must specify a class
which is optimized for key-based item retrieval from
collections. Your class must
cater for key-based item retrieval for small and large
collections.
Which of the following class types should you specify?
A. Select the OrderedDictionary class.
B. Select the HybridDictionary class.
C. Select theListDictionary class.
D. Select the Hashtable class
Answer / gaaa
Answer: B
Explanation: A HybridDictionary is implemented as a
ListDictionary for small
collections and a Hashtable for large collections. Hence it
provides very efficient
storage for both small and large collections.
OrderedDictionary supports sorting based on the key. It has
similar disadvantages for
small collections to Hashtable on which it is based.
ListDictionary is ideal for small collections because it is
implemented as a light-weight
linked list. Performance will suffer for large collections.
HashTable is ideal for large collections, for small
collections the overheads of such a
sophisticated data structure do not compensate for the benefits
Is This Answer Correct ? | 3 Yes | 0 No |
i want to give exchange server 284 paper plse send me latest 284 paper dumps i will download
How can you forcibly remove AD from a server, and what do you do later? • Can I get user passwords from the AD database?
Name a few differences in Vista GPOs
What do you do to install a new Windows 2003 DC in a Windows 2000 AD?
Q.1. You set up scheduled tasks to run & notify you of any failures. 3 days later you see that none of the tasks ran & you received no notifications. What to do?
What is the difference between joining and blending in Tableau?
How I Should get Microsoft Certification
How do you restore Active Directory?
which jumper lets the IDE Cable decide the configuration for IDE devices?
What is WSUS server? Basci requirement of installing? difference between WSUS ans SUS? benifits of both?
is the cogent cyber solution trainig centre best for .net course?
Difference between IP V-4 and IP V-6?