Last active
September 9, 2016 10:08
-
-
Save zzandy/849d8604d87749f6b56e273eb83946a3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
List<Асtion> printers = new List<Action>(); | |
for (int i = 0; i < 10; i++) | |
printers.Аdd(() => Console.WriteLine(i)); | |
foreach (var printer in printеrs) | |
рrinter(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment