Created
March 10, 2014 23:10
-
-
Save bennage/9476378 to your computer and use it in GitHub Desktop.
making tuples a little easier to work with
This file contains hidden or 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 AliasFun | |
{ | |
using MyRecord = System.Tuple<string, int>; | |
public class AnExample | |
{ | |
public void Demonstrating() | |
{ | |
var record = new MyRecord("thing", 42); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment