How to code parallel computing process in C# 4.0

10,931

Solution 1

By using Task Parallel Library, for example.

Solution 2

All of the parallelization options in .NET 3.5 will exist in C# 4.0.

However, the Task Parallel Library will be moved into System.Threading directly as part of the BCL. This will allow constructs like Parallel.For loops, using the new TaskScheduler, etc.

Also, PLINQ will be included in the BCL in .NET 4, which allows for parallel queries to be run.

Share:
10,931
web dunia
Author by

web dunia

Good person.

Updated on June 04, 2022

Comments