DeconstructorExtensions.

Deconstruct<TK, TV>(KeyValuePair<TK, TV>, TK, TV) Method

Summary

Deconstructs the specified KVP.

Syntax

public static void Deconstruct<TK, TV>(this KeyValuePair<TK, TV> kvp, out TK key, out TV value)

Attributes

Type Description
NullableContextAttribute

Type Parameters

Name Description
TK
TV

Parameters

Name Type Description
kvp KeyValuePair<TK, TV> The KVP.
key TK The key.
value TV The value.

Return Value

Type Description
void