 | CollectionUtilsDictionaryEqualTKey, TValue Method |
Compares two dictionary for equality.
Namespace: Slash.Collections.UtilsAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic static bool DictionaryEqual<TKey, TValue>(
IDictionary<TKey, TValue> first,
IDictionary<TKey, TValue> second
)
Public Shared Function DictionaryEqual(Of TKey, TValue) (
first As IDictionary(Of TKey, TValue),
second As IDictionary(Of TKey, TValue)
) As Boolean
public:
generic<typename TKey, typename TValue>
static bool DictionaryEqual(
IDictionary<TKey, TValue>^ first,
IDictionary<TKey, TValue>^ second
)
static member DictionaryEqual :
first : IDictionary<'TKey, 'TValue> *
second : IDictionary<'TKey, 'TValue> -> bool
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:
BooleanTrue if the two dictionaries are equal; otherwise, false.
See Also