1
namespace IEnumerableExtras
4 /// Represents a pair of items of type <typeparamref name="TValue"/>.
6 /// <typeparam name="TValue"></typeparam>
7 public class Pair
< TValue
>
9 private readonly TValue _left
;
10 private readonly TValue _right
;
13 /// Initialize an instance of <see cref="Pair{TValue}"/> with two
14 /// items of type <typeparamref name="TValue"/>.
16 /// <param name="left"></param>
17 /// <param name="right"></param>
18 public Pair( TValue left
, TValue right
)
25 /// Gets first (left) item.
36 /// Gets second (right) item.