Parallel.For – Multithreading has never been so easy
In the last version C# there is the possibility paralleling calculations in a very simple way. Loop: for (int n = 0; n { Console.WriteLine(“Parallel – iteracja {0} wątek {1}”, i, Thread.CurrentThread.ManagedThreadId); }); […]