public class Tuple<T1>
{
T1 _t1;
public Tuple(T1 t1)
{
this._t1 = t1;
}
public T1 Item_1
{
get{return this._t1;}
}
};
public class Tuple<T1, T2> : Tuple<T1>
{
T2 _t2;
public Tuple(T1 t1, T2 t2) : base(t1)
{
this._t2 = t2;
}
public T2 Item_2
{
get{return this._t2;}
}
};
public class Tuple<T1, T2, T3> : Tuple<T1, T2>
{
T3 _t3;
public Tuple(T1 t1, T2 t2, T3 t3) : base(t1, t2)
{
this._t3 = t3;
}
public T3 Item_3
{
get{return this._t3;}
}
};