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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HI Guys...... Good day ahead How many sub domains can be added in exchange server means in a domain

2207


I want to clear the mcse in 2007. So could i get the latest dump of msce questions?

1970


What is POST?

6691


Can you connect Active Directory to other 3rd-party Directory Services? Name a few options.

2846


Hi, I want to do asp.net certification. So please guide me how i can proceed.

2375






Hi can any one help me for 70-562 dumps?

2415


windows file/folder sharing ?

1939


What are application partitions? When do I use them

1809


How do you create a new application partition

2001


is the cogent cyber solution trainig centre best for .net course?

2171


HOW TO USE FSMO ROLES IN FOREST.. MEANS IF WE HAVE A THREE DOAMINS IN FOREST .....THEY R HYD.COM(FIRST ONE....PRIMARY DOMAIN IN THE FOREST),BANG.COM (SECOND DOMAIN),CSD.COM(THIRD DOMAIN). I WANT TO IMPLEMENT FSMO ROLES IN THIRD DOMAIN HOW TO IMPLEMENT IT ...MEANS HOW TO CONNECT WITH DOAMIN AND WHAT ROLES WE IMPLEMENT..

2435


What do you do to install a new Windows 2003 R2 DC in a Windows 2003 AD?

1696


Types of routing groups

2282


What are sites? What are they used for?

2793


mcse 2003 to mcitp upgrade paper

2953