ListDictionary() constructor is used to initialize a new empty instance of the ListDictionary class using the default comparer. ListDictionary is a specialized collection. It comes under the
System.Collections.Specialized namespace. This type represents a non-generic dictionary type. It is implemented with a linked list. This class is a simple implementation of a dictionary collection (
System.Collections.IDictionary) for small lists.
public ListDictionary ();
The number of elements: 0
Before Add Method: 0 After Add Method: 6
- C# | Get or set the value associated with specified key in ListDictionary
- C# | Add the specified key and value into the ListDictionary
- C# | ListDictionary Class
- C# | Check if ListDictionary is read-only
- C# | Get an enumerator that iterates through the ListDictionary
- C# | Check if ListDictionary contains a specific key
- C# | Get an ICollection containing the values in ListDictionary
- C# | Get an ICollection containing the keys in ListDictionary
- How to get Synchronize access to the ListDictionary in C#
- C# | Remove the entry with specified key from ListDictionary
- C# | Remove all entries from the ListDictionary
- C# | Check if ListDictionary has a fixed size
- C# | Check if two ListDictionary objects are equal
- C# | Get the number of key/value pairs contained in ListDictionary
- C# | Check if ListDictionary is synchronized (thread safe)
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. 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.