What is Hybrid dictionary



What is Hybrid dictionary..

Answer / test

HashTable class should be used when the collection is large
for performance reasons similarly for small collections
ListDictionary class is used.HybridDictionary Class is a mix
of both the worlds.HybridDictionary Class implements
IDictionary by using a ListDictionary while the collection
is small, and then switching to a Hashtable when the
collection gets large.



[SerializableAttribute]
public class HybridDictionary : IDictionary,
ICollection, IEnumerable
This class is recommended for cases where the number of
elements in a dictionary is unknown.
The constructor accepts a Boolean parameter that allows the
user to specify whether the collection ignores the case when
comparing strings. If the collection is case-sensitive, it
uses the key's implementations of Object..::.GetHashCode and
Object..::.Equals. If the collection is case-insensitive, it
performs a simple ordinal case-insensitive comparison, which
obeys the casing rules of the invariant culture only. By
default, the collection is case-sensitive

A key cannot be nullNothingnullptra null reference (Nothing
in Visual Basic), but a value can

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What are sharepoint pages?

0 Answers  


Give some salient points of difference between request processor and request dispatcher.

0 Answers   Tech Mahindra,


What is the sequence in which ASP.NET events are processed?

0 Answers  


A Web Service Can Only Be Written In .net. Is it True??

0 Answers   Siebel Systems,


About the Usage of htmlencode and urlencode ?

2 Answers   Cognizant,






How many types of web application ?

1 Answers  


what is usercontrol how we can use acess the controls that are present in the usercontrol in the aspx page suppose we have 2 text boxes in a user control how u can acess the 2 textboxs in the aspx page

1 Answers  


what is mean by framework?

3 Answers  


What does the hotspot class in .net do?

0 Answers  


What is the difference between ASP Session State and ASP.Net Session State?

0 Answers  


how to elimainte the similar data from the different tables

0 Answers  


What is Pre-Render event in ASP.NET?

0 Answers   MindCracker,


Categories