Created
April 21, 2018 21:23
-
-
Save dance2die/ce1a85d6f16961b3f6347a3e6a1b9207 to your computer and use it in GitHub Desktop.
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
private static void RepeatDemo() | |
{ | |
var texts = Enumerable.Repeat("I love your smile", 5); | |
foreach (var text in texts) | |
{ | |
WriteLine(text); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment