Click or drag to resize

toDictionaryToDictionaryK, V Method (IEnumerableKeyValuePairK, V)

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IDictionary<K, V> ToDictionary<K, V>(
	this IEnumerable<KeyValuePair<K, V>> this
)

Parameters

this
Type: System.Collections.GenericIEnumerableKeyValuePairK, V
The IEnumerableT to convert.

Type Parameters

K
The type of the key.
V
The type of the value.

Return Value

Type: IDictionaryK, V
this converted to an IDictionaryTKey, TValue.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableKeyValuePairK, V. 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