Asynchronous Programming in C# Explained (Task.Run, Task.WaitAll, Async and Await)

preview_player
Показать описание
🎁ALL-ACCESS Subscription: Unlock access to all of my courses, both now and in the future at a low $19.99 / month.

💎 Become advanced-level programmer with challenges from CodeCrafters. Over 50k devs use CodeCrafters, including staff-level engineers at Google, GitHub, Vercel, and more. Use the following link to get 40% off:

💎Learn .NET MAUI while creating a Contacts App in .NET 7:

🔥Learn Blazor while creating an Inventory Management System in .NET 6

💎 Complete Guide to ASP.NET Core Identity

💎Complete Blazor Course: Build an e-commerce app with ASP.NET Blazor and Clean Architecture

💎 Complete Web API Course:

👍Architecture Course

Рекомендации по теме
Комментарии
Автор

Hi Frank Liu, Thanks alot for the video. However I have a little question. Is there any difference in parallel vs async programming? If yes, then is this tutorial is for Parallel Programming or is it about async programming?

sriaz
Автор

This is the clearest explanation video about asynchronous programming I've encountered. Thank you very much. You deserve a lot more subscribers. Keeps doing your thing man.

Jonathan-bnhb
Автор

Great job, never saw a better tutorial concerning basics of Tasks

os-channel
Автор

I consider myself as a slow learner, but this helped alot. THANK YOU!

cicbeats
Автор

How your awaiter.GetResult( ) is providing value.. it's return type is void.??.

satishbhuktar
Автор

Best video on YouTube regarding Tasks for beginners.
I still have to dig more into this until it makes absolute sense. Anyways: Thanks Frank.

NoOne-wfhm
Автор

Thanks for breaking it down in such an easy to understand way!

eprice
Автор

this is really the best tutorial about async await c# for its simplicity and clearness i ever see, after reading so many microsoft documentation, i am still confused, now you save my ass, Thank you.

一江春水向东流-yq
Автор

Nice video. However, in your Calculate1_2 () method, you have the method signature as, "async static void Calculate1_2 ()". It will cause deadlocks. Instead, it should be, "async static Task Calculate1_2 ()".

ramganapathy
Автор

Thanks Liu. This video help me so much

marlonbraga
Автор

Very calm and clear explanation. Thank you indeed Frank #maestro

hiran
Автор

Hi Frank Liu, Thanks alot for the video. However I have a little question. What is the difference between Concurrency and Asynchronous?

trustingod
Автор

you are great teacher, it was so clear

MasoudSamimi
Автор

Thanks for lesson!Can you make more videos about asynchronous programming or concurrency in C#?

ЄгорШамрай
Автор

Hi Frank, Frankly telling its clean and very clear video, thanks for your effort and sharing to others.

adhivenkatesh
Автор

Hello Man, You saved my Day you nailed it. Many thanks !

salaheddineelkhalifa
Автор

Thank you man! You definateely need more subscribers huh (EDIT: For a moment at the begining i thought it's a joke (those houses lol))

hiderr
Автор

Thank you Frank, you gave a best example ever.

LesibaPhokela
Автор

What is the reason you introduce the last function Test? I run the example using static async Task Calculate1_2() directly and the result is the same as using Test function.. What is the difference? Why do you introduce so many functions?

bioanu
Автор

Hi Frank Liu. Nice Video :). In the end you are creating a Test() - method with "async static void Test()". Is this a misstake? Since the general advice is to avoid "async void" for async methods, other than for event handlers.

ma