Sobes.tech
Middle

Lista<Action> akcje = new List<Action>(); for (var count = 0; count < 10; count++) { akcje.Add(() => System.Console.WriteLine(count)); } foreach (var akcja in akcje) { akcja(); } Co będzie w stdout?