Click or drag to resize
Accord.NET (logo)

TwoWayDictionaryTFirst, TSecond Constructor (IDictionaryTFirst, TSecond)

Initializes a new instance of the TwoWayDictionaryTFirst, TSecond class that contains elements copied from the specified dictionary and uses the default equality comparer for the key type.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.6.0
Syntax
public TwoWayDictionary(
	IDictionary<TFirst, TSecond> dictionary
)
Request Example View Source

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTFirst, TSecond
The dictionary whose elements are copied to the new TwoWayDictionaryTFirst, TSecond.
See Also