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: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public static Pair<TKey, TValue> MakePair<TKey, TValue>(
	TKey key,
	TValue value
)

Parameters

key  TKey
The key. May be if TKey is a reference type.
value  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

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