Method Remove Remove(TKey) Removes a key-value pair. Declaration public bool Remove(TKey key) Parameters Type Name Description TKey key The key to remove. Returns Type Description bool True if a key-value pair was removed.