Method Add
- Namespace
- DisCatSharp.Common
- Assembly
- DisCatSharp.Common.dll
Add(string, TValue?)
Inserts a specific key and corresponding value into this dictionary.
public void Add(string key, TValue? value)
Parameters
key
stringKey to insert.
value
TValueValue corresponding to this key.
Add(ReadOnlySpan<char>, TValue?)
Inserts a specific key and corresponding value into this dictionary.
public void Add(ReadOnlySpan<char> key, TValue? value)
Parameters
key
ReadOnlySpan<char>Key to insert.
value
TValueValue corresponding to this key.