format
typescript
Dictionary.Add(key, value)class: Dictionary
description
Add a value to the specified key name.
parameter
| param_name | type | description |
|---|---|---|
| key | K|null | The key name. |
| value | V | The value. |
reture
| type | description |
|---|---|
void |
code example
typescript
let dictionary = new Dictionary<Number, Number>(Number);
dictionary.Add(1, 1);