Created
April 11, 2012 13:45
-
-
Save posaunehm/2359381 to your computer and use it in GitHub Desktop.
Enumerate number without any local varuable
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
Console.Write( | |
string.Concat( | |
Enumerable.Range(1,100).SelectMany(ele => ele.ToString() + System.Environment.NewLine)) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment