Understanding async and await
Explore the concepts of async and await keywords in C# to implement multitasking and enhance application responsiveness. This lesson helps you understand how to write asynchronous code in console apps and prepares you for more practical uses in web projects.
We'll cover the following...
We'll cover the following...
C# 5 introduced two C# keywords when working with the Task type that enables easy multithreading. The pair of keywords is handy for the following:
Implementing multitasking for a Graphical User Interface (GUI).
Improving the scalability of web applications and web services.
Preventing blocking calls when interacting with the filesystem, databases, and remote services, all of which take a long time to complete their work.
...