Method ContainsKey

ContainsKey(TKey)

Returns a value indicating whether an entry with given key is present in the dictionary

Declaration
bool ContainsKey(TKey key)
Parameters
Type Name Description
TKey key

The key to look for

Returns
Type Description
bool

True in case the dictionary contains given key; false otherwise

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next