Pair<T1, T2> Class

Pair is a utility class glueing two objects together.
public class Pair<T1, T2>

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