Click or drag to resize
HelperKeysEqualTKey, TValue1, TValue2 Method
Efficiently (log n) test if two dictionaries have the same key set.

Namespace: Bio.Util
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public static bool KeysEqual<TKey, TValue1, TValue2>(
	IDictionary<TKey, TValue1> dictionary1,
	IDictionary<TKey, TValue2> dictionary2
)

Parameters

dictionary1
Type: System.Collections.GenericIDictionaryTKey, TValue1
The first dictionary
dictionary2
Type: System.Collections.GenericIDictionaryTKey, TValue2
The second dictionary

Type Parameters

TKey
The key type of the dictionaries
TValue1
The value type of dictionary 1
TValue2
The value type of dictionary 2

Return Value

Type: Boolean
True if the two key sets are "set equal"; false, otherwise.
See Also