Method TryAdd TryAdd(TKey, TValue) Adds the specified key and value to the dictionary. Declaration public bool TryAdd(TKey key, TValue value) Parameters Type Name Description TKey key TValue value Returns Type Description bool