Method Remove
Remove(TKey)
Removes the value with the specified key from the dictionary.
public bool Remove(TKey key)
Parameters
key
TKeyThe key of the element to remove.
Returns
- bool
true
if the element is successfully found and removed; otherwise,false
. This method returnsfalse
if key is not found in the dictionary.