Комментарии:
this is the best tutorial on async and await that I have seen. Clear and consise examples given.
ОтветитьI have a program like this:
1. Have a static string[] 'values'.
2. Task 1 is event driven, update the content of the string[] 'values' whenever condition meets.
3. Task 2 is periodically use the data from 'values' array to display status of the equipment.
Please help me how to implement this into the project.
thanks for your vieo it's best one
ОтветитьINTPs and Programmers shouldn't make jokes... Just putting it out there.
ОтветитьI'm an American and this tutorial made me hungry and want breakfast. :)
ОтветитьThanks for making a wonderful Video on Async and Await
ОтветитьNow let's get started with the tutorial
ОтветитьI've spent years watching kids add huge tasking overheads which far outweigh the costs of just running synchronously.
Software engineering should be about assessing the reasons as to whether, rather than because.
The same was true with iqueryable. People were passing iterators and enumerators about, not realising they were reexecuting and time they needed something.
There should be as much time teaching kids when things should be done synchronously as well as asynchronously
This video was a great help and a step up in reaching to grasp the concept of this complicated and difficult topic in C#
ОтветитьI struggled, and I'd say that I'm still struggling with understanding of how async works. But surely I'm making progress in understanding it and this video was a big help. For me it's the best explanation of async that I've seen.
ОтветитьVery informative sir. Thank you
ОтветитьThanks a lot. Very helpful. Actually this is a very professional simple explanation. One suggestion, you should start with sync programming first, then transfer it to async like what you have done, to show the difference, better for beginners. Thanks anyway.
ОтветитьExample is good, but the theory as explained is wrong. For example, a void method is a void method and a Task method is a method that returns a Task. Returning sth. is indeed different than returning nothing or sth empty as null.
ОтветитьQuestion: If your main thread crashes after having spawned async threads, what happens? Do the threads close? If not, what happens when they try to return their Task? Is there a way to do an elegant shutdown of all existing threads using a destructor in the parent thread?
ОтветитьGoddamn, someone that finally explains it in a non flustered way. Thank you so so much!
Ответитьgood one, simple and crisp
ОтветитьAs many have pointed out, this is not a good tutorial which actually explains asynchronous programming, it's just a display of some pre-existing async functions, which to most developers worthy of being called such, is trivial and not very useful on its own.
ОтветитьYou're a good teacher... thank you and cheers
ОтветитьYou should definitely not be using Thread.Sleep() inside an asynchronous method. Use Task.Delay() instead.
ОтветитьDude, you need to enhance your presentation skills 👎👎
You are so fast!
Very poor video. He basically explains the syntax (which is trivial), but is not showing comparing executions of sync vs async or demonstrating the order of execution depending on method. Literally useless if you want to understand intricacies of async/await beyond basic use instructions.
ОтветитьExcellent tutorial
ОтветитьThe key to this being good is in using a simple example. Nice job.
Ответитьperfect explanation, thank you
ОтветитьThis kinda of tutorial should be default, it's the best one.
A lot of other tutorials abstract the lesson in 50 hundred layers of abstraction, the person that is trying to teach seems to be conflicted: should I just teach this in the best way possible or should I show off my awesome coding skills?
I get CS4014 in .Net 6.0 & VS 2022.
Ответитьsorry but your example makes no sense to me. What is the advantage, what if you do not use async and await...you did not explain anything properly....
Ответитьbrilliant
ОтветитьFirst dog looks more like a pig.
Ответитьnow lets get started with the course
now lets get started with the content
and now lets get started with.. the tutorial
nice poem!
this guy is an incredible teacher
ОтветитьThank you for this excellent coding example. It’s educational how you show the most basic first and progress to a more useful example!
ОтветитьWhat if you only have one pan? :)
Ответитьi still dont understand, damn
ОтветитьI coded the same thing and is not working for me why is that ?
Ответитьstep by step, great!
ОтветитьHey Dennis,
leider habe ich bei der Ausführung des Codes Compilerprobleme bezüglich der Main-Funktion.
Ich verwende wie du "static async Task Main()", leider ist Visual Studio 2012 der Meinung, dass das keine geeignete statische Main-Methode ist. Ihm fehlt der Einstiegspunkt für das Programm.
P.S.: Ich habe deine C# Masterclass durchgeführt und der Kurs war super! Schade, dass ASYNC kein Teil davon war.
LG Max
Very Simplified and nice explanation
ОтветитьThanks, very interesting.!
ОтветитьSuper useful tutorial! Been trying to get a grip on async for a while now, and this really helped.
ОтветитьNot worth watching
Ответитьhi your work is very good am mobile apps dveloper and i have a game idea : is about a 2d mutiplayer game it can be just between 2 player i ilready developed it work perfectly localy but i want it to be in network like ludo king i need your help in a tutorial wich server is good for it ana does firebase realtime database is good for it or no i found many solution like foton and mlapi server please try to find a good solution for it it can be like ludo king help me please thanks
Ответить