Table of Contents

CreateTwo Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/MutableTupleFactory.cs

CreateTwo<T1, T2>(T1, T2)

Creates a new 2-tuple, or double, representation of a MutableTuple.

public static MutableTuple<T1, T2> CreateTwo<T1, T2>(T1 arg1, T2 arg2)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

Returns

MutableTuple<T1, T2>

A 2-tuple (double) whose value is (arg1, arg2).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.