Python week November Black Friday
This week up to 80% off on Python courses. More info
Black friday is here! Get up to 80 % extra points for free! More info

Parallel programming and multi-threaded applications in C#

A series of tutorials about parallel programming in C# .NET. Creating threads, synchronization, Tasks, and asynchronous programming.

Introduction to multi-threaded applications in C#.NET

Lesson 1 - Introduction to multi-threaded applications in C#.NET

This tutorial introduces to parallel programming in C# .NET. We'll explain terms such as a process and create our first multi-threaded application.
FreeUnratedWritten by David Capka
Threads in C# .NET - Sleep, Join, and lock

Lesson 2 - Threads in C# .NET - Sleep, Join, and lock

In this tutorial, we'll learn to block (put to sleep and join) threads in C# .NET, and using locks and the lock keyword. We'll make our app threadsafe.
FreeUnratedWritten by David Capka
Monitors, thread priority, exceptions and more in C# .NET

Lesson 3 - Monitors, thread priority, exceptions and more in C# .NET

We'll explain Monitors and Mutexes, non-atomic operations, the Interlocked class, and thread priority. We'll pass thread parameters and catch exceptions.
PremiumUnratedWritten by David Capka
Daemons, ThreadPool, and asynchronous delegates in C# .NET

Lesson 4 - Daemons, ThreadPool, and asynchronous delegates in C# .NET

In this tutorial, we'll learn how to run threads in the background and use ThreadPool by QueueUserWorkItem() and asynchronous delegates with a callback.
PremiumUnratedWritten by David Capka
Tasks - Better Parallel Programming in C# .NET

Lesson 5 - Tasks - Better Parallel Programming in C# .NET

In this tutorial, we'll introduce Tasks which are in C# since .NET 4, work using ThreadPool, and make creating multi-threaded apps much easier.
PremiumUnratedWritten by David Capka
Asynchronous Programming in C# .NET - Async and await

Lesson 6 - Asynchronous Programming in C# .NET - Async and await

This tutorial introduces asynchronous programming, available since .NET 4.5. We'll learn to use the async and await keywords.
PremiumUnratedWritten by David Capka
Parallel Class and PLINQ in C# .NET

Lesson 7 - Parallel Class and PLINQ in C# .NET

In this tutorial, we'll get to know the Parallel class, which allows us to run e.g. a multi-threaded for loop. Finally, we'll run a parallel LINQ query.
PremiumUnratedWritten by David Capka


 

Activities (2)