namespace SJK.Functional; public static class TupleExtensions { public static (T1, T2) ToTuple(this T1 first, T2 second) => (first, second); public static (T1, T2, T3) ToTuple(this T1 first, T2 second, T3 third) => (first, second, third); public static (T1, T2, T3, T4) ToTuple(this T1 first, T2 second, T3 third, T4 forth) => (first, second, third, forth); }