What is Hybrid dictionary

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does session_start () do?

626


What is http post and http get?

542


What is the difference between globalization and localization?

491


Where is the session stored?

635


Why session is necessary in web application?

513






How can we communicate with each server in N-tier Architecture? and what are the methods?

1789


Differentiate between namespace and assembly.

565


How many types of cookies are there in asp.net?

537


Can we add code files of different languages in app_code folder?

599


Define static function?

570


how to include timer or counting time to display next page in asp.net

1603


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

528


Why is global asax is used?

614


What is another word for redirect?

508


What is the exact purpose of http handlers?

568