Skip to content

Instantly share code, notes, and snippets.

@posaunehm
Created August 7, 2012 04:06
Show Gist options
  • Save posaunehm/3281421 to your computer and use it in GitHub Desktop.
Save posaunehm/3281421 to your computer and use it in GitHub Desktop.
Small seq-like snippet
static IEnumerable<T> seq<T>(params T[] args)
{
return args;
}
var sequence = seq(1,2,3,4,5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment