Method Add
Add(TLeft, TRight)
Adds an association between the specified left and right values to the map.
Declaration
void Add(TLeft leftValue, TRight rightValue)
Parameters
| Type | Name | Description |
|---|---|---|
| TLeft | leftValue | |
| TRight | rightValue |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | The specified left or right value is already present in the map. |