Method ContainsKey ContainsKey(TKey) Returns a value indicating whether the dictionary contains the specified key. Declaration bool ContainsKey(TKey key) Parameters Type Name Description TKey key Returns Type Description bool