Skip to content

Instantly share code, notes, and snippets.

@bennage
Created March 10, 2014 23:10
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bennage/9476378 to your computer and use it in GitHub Desktop.
Save bennage/9476378 to your computer and use it in GitHub Desktop.
making tuples a little easier to work with
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