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