Click or drag to resize
Accord.NET (logo)

RedBlackTreeDictionaryTKey, TValueAdd Method (KeyValuePairTKey, TValue)

Adds an element with the provided key and value to the dictionary.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public void Add(
	KeyValuePair<TKey, TValue> item
)
Request Example View Source

Parameters

item
Type: System.Collections.GenericKeyValuePairTKey, TValue
The key-value pair containing the desired key and the value to be added.
See Also