Question: How does the async / await pattern differ from using Task.Result in C# ? async / await allows the calling thread to continue, while Task
How does the asyncawait pattern differ from using Task.Result in C#
asyncawait allows the calling thread to continue, while Task Result may cause a O deadlock
Both asyncawait and Task Result are interchangeable
Task Result is used for Utrelated tasks, while asyncuwait is for background tasks
asyncawait is only applicable to methods returning Task or Task
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
