Click or drag to resize
CollectionUtilsDictionaryEqualTKey, TValue Method
Compares two dictionary for equality.

Namespace: Slash.Collections.Utils
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public static bool DictionaryEqual<TKey, TValue>(
	IDictionary<TKey, TValue> first,
	IDictionary<TKey, TValue> second
)

Parameters

first
Type: System.Collections.GenericIDictionaryTKey, TValue
First dictionary.
second
Type: System.Collections.GenericIDictionaryTKey, TValue
Second dictionary.

Type Parameters

TKey
Type of dictionary keys.
TValue
Type of dictionary values.

Return Value

Type: Boolean
True if the two dictionaries are equal; otherwise, false.
See Also