[]
Gets the value by specified key.
public bool TryGetValue(TKey key, out TValue value)
Type | Name | Description |
---|---|---|
TKey | key | The specified key. |
TValue | value | The value corresponding to the key. |
Type | Description |
---|---|
bool | True if the value was found in the collection; otherwise, false. |