C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






HybridDictionary Class


Posted Date: 03 Jun 2008    Resource Type: Definitions    Category: General

Posted By: shakti singh tanwar       Member Level: Diamond
Rating:     Points: 5



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




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Serialization
Previous Resource: Serializable Attribute
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use