HybridDictionary(Boolean) constructor creates an empty HybridDictionary with the specified case sensitivity.
public HybridDictionary (bool caseInsensitive);
Here, caseInsensitive is a Boolean that denotes whether the HybridDictionary is case-insensitive.
Below given are some examples to understand the implementation in a better way:
I first i first II second III third IV fourth V fifth
System.ArgumentException: An entry with the same key already exists.
Note: This constructor is an O(1) operation.
- C# | Creating a HybridDictionary with specified initial size & case sensitivity
- C# | Creating an empty case-sensitive HybridDictionary Class
- C# | Creating a Case-Sensitive HybridDictionary with specified initial size
- C# | Adding the specified key and value into HybridDictionary
- C# | Gets or sets the value in HybridDictionary with specified key
- C# | HybridDictionary Class
- C# | Check the HybridDictionary for a specific key
- C# | Get an ICollection containing the keys in HybridDictionary
- C# | Get an ICollection containing the values in HybridDictionary
- How to get Synchronize access to the HybridDictionary in C#
- C# | Get an enumerator that iterates through the HybridDictionary
- C# | Removing the specified key entry from HybridDictionary
- C# | Check if HybridDictionary is read only
- C# | Removing all entries from HybridDictionary
- C# | Count the number of key/value pairs in HybridDictionary
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.