Taylohtio/GeneralApi/GeneralApi.Core/Common/Pair.cs

19 lines
444 B
C#

namespace Taloyhtio.GeneralApi.Core.Common
{
public class Pair<T1, T2>
{
public Pair(T1 item1, T2 item2)
{
this.Item1 = item1;
this.Item2 = item2;
}
public T1 Item1 { get; set; }
public T2 Item2 { get; set; }
//
// public static Pair<T1, T2> Create<T1, T2>(T1 item1, T2 item2)
// {
// return new Pair<T1, T2>(item1, item2);
// }
}
}