Click or drag to resize

PairMakePairTKey, TValue Method

Creates a pair with the specified key and value.

Namespace:  Ookii.Jumbo.IO
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public static Pair<TKey, TValue> MakePair<TKey, TValue>(
	TKey key,
	TValue value
)

Parameters

key
Type: TKey
The key. May be if TKey is a reference type.
value
Type: TValue
The value. May be if TValue is a reference type.

Type Parameters

TKey
The type of the key.
TValue
The type of the value.

Return Value

Type: PairTKey, TValue
An instance of PairTKey, TValue.
Remarks

This function can be used to create a pair using type inference for the key and value types so you do not have to explicitly specify them.

See Also