Tuple6<T1,
Struct · global namespace · Since 0.42
struct Tuple6<T1, T2, T3, T4, T5, T6> : IEquatable<Tuple6<T1, T2, T3, T4, T5, T6>>, IHashableA tuple of 6 values: the type (T1, T2, T3, T4, T5, T6), made by (a1, a2, a3, a4, a5, a6).
The values are the fields Item1 to Item6; var (a, b, c, d, e, f) = t; takes them apart.
Fields
Section titled “Fields”| Name | Description |
|---|---|
Item1 |
The first value. |
Item2 |
The second value. |
Item3 |
The third value. |
Item4 |
The fourth value. |
Item5 |
The fifth value. |
Item6 |
The sixth value. |
T1 Item1The first value.
T2 Item2The second value.
T3 Item3The third value.
T4 Item4The fourth value.
T5 Item5The fifth value.
T6 Item6The sixth value.
Methods
Section titled “Methods”| Name | Description |
|---|---|
Equals |
Whether every value equals the one at the same position in other. |
GetHashCode |
A hash code made of the hash codes of the values (tuples can be keys of a Dictionary). |
ToString |
The values as text: (1, abc). |
Equals
Section titled “Equals”bool Equals(Tuple6<T1, T2, T3, T4, T5, T6> other)Whether every value equals the one at the same position in other.
GetHashCode
Section titled “GetHashCode”int GetHashCode()A hash code made of the hash codes of the values (tuples can be keys of a Dictionary).
ToString
Section titled “ToString”string ToString()The values as text: (1, abc).