Skip to content

Tag Archives: CSharp-Specialized-HybridDictionary

HybridDictionary.SyncRoot Property is used to get an object which can be used to synchronize access to the HybridDictionary. It implements a linked list and hash… Read More
Equals(Object) Method which is inherited from the Object class is used to check if a specified HybridDictionary object is equal to another HybridDictionary object or… Read More
HybridDictionary.Remove(Object) method is used to remove the entry with the specified key from the HybridDictionary. Syntax: public void Remove (object key); Here, key is the… Read More
HybridDictionary(Boolean) constructor creates an empty HybridDictionary with the specified case sensitivity. Syntax: public HybridDictionary (bool caseInsensitive); Here, caseInsensitive is a Boolean that denotes whether the… Read More
HybridDictionary() creates an empty case-sensitive HybridDictionary. Syntax: public HybridDictionary (); Below given are some examples to understand the implementation in a better way: Example 1:… Read More
HybridDictionary(Int32) constructor is used to create a case-sensitive HybridDictionary with the specified initial size. Syntax: public HybridDictionary (int initialSize); Here, initialSize is the approximate number… Read More
HybridDictionary attempts to optimize Hashtable. It implements a linked list and hash table data structure. It implements IDictionary by using a ListDictionary when the collection… Read More
HybridDictionary.GetEnumerator method is used to return an IDictionaryEnumerator that iterates through the HybridDictionary. Syntax: public System.Collections.IDictionaryEnumerator GetEnumerator (); Return Value: It returns an IDictionaryEnumerator (An… Read More
HybridDictionary.Keys property is used to get an ICollection containing the keys in the HybridDictionary. Syntax: public System.Collections.ICollection Keys { get; } Return Value: It returns… Read More
HybridDictionary.Add(Object, Object) method is used to add an entry with the specified key and value into the HybridDictionary. Syntax: public void Add (object key, object… Read More
HybridDictionary.IsSynchronized property is used to get a value that indicates whether the HybridDictionary is synchronized (thread safe) or not. Syntax: public bool IsSynchronized { get;… Read More
HybridDictionary.Values property is used to get an ICollection containing the values in the HybridDictionary. Syntax: public System.Collections.ICollection Values { get; } Return Value: It returns… Read More
HybridDictionary(Int32, Boolean) creates a HybridDictionary with the specified initial size and case sensitivity. Syntax: public HybridDictionary (int initialSize, bool caseInsensitive); Parameters: initialSize : The approximate… Read More
HybridDictionary.Count property is used to get the number of key/value pairs contained in the HybridDictionary. Syntax: public int Count { get; } Return Value: The… Read More
HybridDictionary.IsFixedSize property is used to get a value that indicates whether the HybridDictionary has a fixed size or not. Syntax: public bool IsFixedSize { get;… Read More