[]
Adds value to the list, returns index of the added value, throws exception if value with specified key already exists.
public int Add(TKey key, TValue value)
Public Function Add(key As TKey, value As TValue) As Integer
| Type | Name | Description |
|---|---|---|
| TKey | key | |
| TValue | value |
| Type | Description |
|---|---|
| int |