Created
August 7, 2012 04:06
-
-
Save posaunehm/3281421 to your computer and use it in GitHub Desktop.
Small seq-like snippet
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
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