Pair<T1, T2>(T1, T2) Constructor

Constructor. Creates a pair which references two objects.
public Pair( 
   T1 t1
   T2 t2 
)

Parameters

t1
T1

The first object of the pair.

t2
T2

The second object of the pair.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition