Пример #1
0
        public static void StackNew()
        {
            WorkPool workPool = new WorkPool(6);

            workPool.For(0, 10, i =>
            {
                int i2 = i;
                workPool.For(0, 10, j =>
                {
                    Console.WriteLine($"{i2} : {j}");
                });
            });
        }