|
Enhanced C#
Loyc library documentation
|
A tuple of three values (A, B and C) in a struct.
More...
A tuple of three values (A, B and C) in a struct.
For compatibility with Tuple{A,B,C}, it has Item1, Item2 and Item3 properties, which refer to the A, B and C fields, respectively.
Public fields | |
| T1 | A |
| T2 | B |
| T3 | C |
| int ITuple. | Length => 3 |
| object | this[int index] |
Properties | |
| T1 | Item1 [get, set] |
| T2 | Item2 [get, set] |
| T3 | Item3 [get, set] |
Public Member Functions | |
| Triplet (T1 a, T2 b, T3 c) | |
| bool | Equals (Triplet< T1, T2, T3 > rhs) |
| override bool | Equals (object?obj) |
| override int | GetHashCode () |
| override string | ToString () |
| int | CompareTo (Triplet< T1, T2, T3 > other) |
| int | CompareTo (object obj) |
Static Public Member Functions | |
| static bool | operator== (Triplet< T1, T2, T3 > a, Triplet< T1, T2, T3 > b) |
| static bool | operator!= (Triplet< T1, T2, T3 > a, Triplet< T1, T2, T3 > b) |
| object Loyc.Triplet< T1, T2, T3 >.this[int index] |
1.8.7