Pair<T1, T2> Class

Pair is a utility class glueing two objects together.
Public Class Pair(Of  _ 
T1, _ 
T2)
This language is not supported or no code example is available.
public class Pair<T1, T2>
This language is not supported or no code example is available.
generic<typename T1, typename T2> 
public ref class Pair
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

T1

The first object of the pair.

T2

The second object of the pair.

Name Description
Public constructor Pair()
Public constructor Pair(T1, T2) Constructor. Creates a pair which references two objects.
Top
Methods
 
Name Description
Public method Equals(object) Determines whether the specified object is equal to the current object.
Public method GetHashCode() Serves as the default hash function.
Public method ToString() String representation of the pair.
Top
Fields
 
Name Description
Public field Pair.First The first object of the pair.
Public field Pair.Second The second object of the pair.
Top
IGS.Genamo.Pair<T1, T2>

.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