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 |
What are the requirements for installing AD on a new server?
What is the Difference between Fat32 and NTFS partion?
what is a wsus ? configuration steps
which jumper lets the IDE Cable decide the configuration for IDE devices?
How many HDD we can connect to one system
What is Site?
Why not make all DCs in a large forest as GCs?
I am an employee in one company. I need to do asp.net certification. I am new to this technology and also i am studying it from one month. So please guide me how i can proceed for doing my certification.
You work as the application developer at Certkiller .com. To get information on a specific method named myMethod, you use Reflection. You need to find out if myMethod can be accessed from a derived class. Which of the following properties should you call from the myMethod class?
primary & secondary storages are 2 main type of storage
What are profiles and what are they a brief description?
What is a Console port and why is it used for and usually console is present in which Hardware devices ?