<PackageReference Include="System.ValueTuple" Version="4.5.0-rc1" />

System.ValueTuple<T1, T2, T3, T4>

public struct ValueTuple<T1, T2, T3, T4> : IEquatable<ValueTuple<T1, T2, T3, T4>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4>>, ITupleInternal
Represents a 4-tuple, or quadruple, as a value type.
public T1 Item1

The current ValueTuple<T, U, V, W> instance's first component.

public T2 Item2

The current ValueTuple<T, U, V, W> instance's second component.

public T3 Item3

The current ValueTuple<T, U, V, W> instance's third component.

public T4 Item4

The current ValueTuple<T, U, V, W> instance's fourth component.

public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4)

Initializes a new instance of the ValueTuple<T, U, V, W> value type.

public int CompareTo(ValueTuple<T1, T2, T3, T4> other)

Compares this instance to a specified instance and returns an indication of their relative values.

public bool Equals(ValueTuple<T1, T2, T3, T4> other)

Returns a value that indicates whether the current ValueTuple<T, U, V, W> instance is equal to a specified ValueTuple<T, U, V, W>.