Showing posts with label what is async await in C#. Show all posts
Showing posts with label what is async await in C#. Show all posts

Monday 20 January 2020

async await in C#

The async await comes in C# 5.0. This keywords is used in same function.
Suppose you have login task taht takes more time to response, it will stop the UI for this time.
So in this case you need to write asynchronous code.
The await keyword is used to stop the current method execution untill task is completed/ return result.
we can not use await if we not apply async keyword in function.