Method Add
Add(TKey, TValue)
Adds the specified key and value pair to the dictionary or updates value if key is already added.
public void Add(TKey key, TValue value)Parameters
- keyTKey
- The key of the element to add. 
- valueTValue
- The value of the element to add. The value can be null for reference types.