Class
Pair<T1, T2>

A utility class that holds a pair of objects of arbitrary types.

Definition

Namespace:Telerik.Core

Assembly:Telerik.WinUI.Controls.dll

Type Parameters:

T1

T2

Syntax:

cs-api-definition
public class Pair<T1, T2>

Inheritance: objectPair<T1, T2>

Constructors

Pair(T1, T2)

Initializes a new instance of the Pair class.

Declaration

cs-api-definition
public Pair(T1 first, T2 second)

Parameters

first

T1

The object for First.

second

T2

The object for Second.

Properties

First

Gets or sets the first object.

Declaration

cs-api-definition
public T1 First { get; set; }

Property Value

T1

Second

Gets or sets the second object.

Declaration

cs-api-definition
public T2 Second { get; set; }

Property Value

T2