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# | Add the specified key and value into the ListDictionary
- C# | Get or set the value associated with specified key in ListDictionary
- C# | ListDictionary Class
- C# | Get an enumerator that iterates through the ListDictionary
- C# | Check if ListDictionary contains a specific key
- How to get Synchronize access to the ListDictionary in C#
- C# | Remove all entries from the ListDictionary
- C# | Check if ListDictionary is read-only
- C# | Get an ICollection containing the keys in ListDictionary
- C# | Remove the entry with specified key from ListDictionary
- C# | Get an ICollection containing the values in ListDictionary
- C# | Check if two ListDictionary objects are equal
- C# | Check if ListDictionary has a fixed size
- 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 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.