In .NET 4.0, Microsoft delivered what is called the Task Parallel Library (TPL) and answered users' concerns by developing multithreaded applications. TPL allows developers to focus on the functionality that they are trying to implement and not get bogged down with managing multiple threads, the threadpool, and the number of processing cores available to them.
So far, we have covered the
BackgroundWorker component and the
Thread class to show ways to accomplish multithreaded functionality in a C#/.NET application. These two ways to perform multithreaded functionality have been around since the very early stages of .NET. The
Thread class was introduced in Version 1.1 of .NET and the ...