Constructor ListDictionary
ListDictionary()
Initializes a new instance of the ListDictionary<TKey, TValue> class.
Declaration
public ListDictionary()ListDictionary(int)
Initializes a new instance of the ListDictionary<TKey, TValue> class with the specified initial capacity for key/value list pairs.
Declaration
public ListDictionary(int capacity)Parameters
| Type | Name | Description | 
|---|---|---|
| int | capacity | 
ListDictionary(IEqualityComparer<TKey>?)
Initializes a new instance of the ListDictionary<TKey, TValue> class that uses the specified key comparer.
Declaration
public ListDictionary(IEqualityComparer<TKey>? keyComparer)Parameters
| Type | Name | Description | 
|---|---|---|
| IEqualityComparer<TKey> | keyComparer | 
ListDictionary(int, IEqualityComparer<TKey>?)
Initializes a new instance of the ListDictionary<TKey, TValue> class with the specified initial capacity for key/value list pairs, and uses the specified key comparer.
Declaration
public ListDictionary(int capacity, IEqualityComparer<TKey>? keyComparer)Parameters
| Type | Name | Description | 
|---|---|---|
| int | capacity | |
| IEqualityComparer<TKey> | keyComparer | 
