Parallel class of System.Threading.Tasks to run parallel functions

Опубликовано: 15 Октябрь 2024
на канале: DotNet Core Central
2,759
69

In this video, I will walk through all the methods of the System.Threading.Tasks.Parallel class.

The four main methods of the Parallel class are below, that we are going to discuss in today's video:
1. Parallel.For
2. Parallel.ForEach
3. Parallel.ForEachAsync
4. Parallel.Invoke

00:00 - Introduction
00:40 - Parallel.For
02:00 - What is ParallelOptions
03:12 - Parallel.ForEach
04:40 - Parallel.ForEachAsync
07:30 - Parallel.Invoke

#csharp #dotnet #dotnet7 #csharp11 #parallel

Some of my popular videos:

Elasticsearch with .NET and introduction:    • An Introduction to Elasticsearch (Bui...  

Hangfire Scheduling an introduction:    • Scheduling recurring jobs with Hangfi...  

ASP.NET Core Authentication with JWT (JSON Web Token):    • ASP.NET Core Authentication with JWT ...  

Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1):    • Running Background tasks using IHoste...  

How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes):    • How to build an API Gateway in ASP.NE...  

My blog site: https://dotnetcorecentral.com