Awaiting A Method Vs Awaiting A Task

What is the difference between awaiting a method vs await a task in c#. In this post, we’ll explore the major difference between awaiting a method and awaiting a Task.

Most developers just await on methods instead of awaiting on Tasks returned by the awaiter. An awaiter is something that is returned by the method that is awaited.
In this post, we’ll examine what happens when we await on methods instead of a task when we have multiple awaits in the method.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×