Constructor KeyValuePair
KeyValuePair(K, V)
Create an entry with specified key and value
Declaration
public KeyValuePair(K key, V value)
Parameters
Type | Name | Description |
---|---|---|
K | key | The key |
V | value | The value |
KeyValuePair(K)
Create an entry with a specified key. The value will be the default value of type
V
.
Declaration
public KeyValuePair(K key)
Parameters
Type | Name | Description |
---|---|---|
K | key | The key |