Enhanced C#
Language of your choice: library documentation
|
Represents the essence of a dictionary, which returns a value given a key. More...
Represents the essence of a dictionary, which returns a value given a key.
K | Input type. |
V | Output type. |
Consider implementing ITryGet<K, V> instead, or in addition to this interface alone.
Properties | |
V | this[K key] [get] |
Gets the value associated with the specified key. More... | |
|
get |
Gets the value associated with the specified key.
KeyNotFoundException | The key was not found. |
ArgumentOutOfRangeException | The class implements IReadOnlyList<V> and the key is an integer index that is outside the valid range. |
IndexOutOfRangeException | The object is an array or other list, and the key is an integer index that is outside the valid range. |