Method ContainsKey ContainsKey(TKey) Determines whether the dictionary contains the specified key. Declaration public bool ContainsKey(TKey key) Parameters Type Name Description TKey key Returns Type Description bool