Table of Contents

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 string

Key to insert.

value TValue

Value 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 TValue

Value corresponding to this key.