Created
November 16, 2014 00:12
-
-
Save louthy/dc06868c446ed76f0d7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Language | |
{ | |
public static class Helpers | |
{ | |
public static Tuple<T1, T2> tuple<T1, T2>(T1 item1, T2 item2) | |
{ | |
return Tuple.Create(item1, item2); | |
} | |
public static Tuple<T1, T2, T3> tuple<T1, T2, T3>(T1 item1, T2 item2, T3 item3) | |
{ | |
return Tuple.Create(item1, item2, item3); | |
} | |
public static Tuple<T1, T2, T3, T4> tuple<T1, T2, T3, T4>(T1 item1, T2 item2, T3 item3, T4 item4) | |
{ | |
return Tuple.Create(item1, item2, item3, item4); | |
} | |
public static Tuple<T1, T2, T3, T4, T5> tuple<T1, T2, T3, T4, T5>(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) | |
{ | |
return Tuple.Create(item1, item2, item3, item4, item5); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment