Click or drag to resize
DictionaryExtensionsContainsSameKeysTKey, TValue Method
Check if the two dictionaries have the same keys

Namespace: DrawerBackup.Native.Extensions
Assembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntax
public static bool ContainsSameKeys<TKey, TValue>(
	this IDictionary<TKey, TValue> from,
	IDictionary<TKey, TValue> to
)

Parameters

from
Type: System.Collections.GenericIDictionaryTKey, TValue
Parent Dictionary
to
Type: System.Collections.GenericIDictionaryTKey, TValue
Child Dictionary

Type Parameters

TKey
TValue

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDictionaryTKey, TValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also