Created
March 12, 2016 13:01
-
-
Save JekRock/722447048dd8b13d107a to your computer and use it in GitHub Desktop.
Range in C# like Python
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
foreach (var i in Enumerable.Range(0, 10)) { | |
Console.WriteLine(i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment