Understanding async and await
Learn how to use async and await keywords in C# for improved responsiveness in console apps.
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.
Later, we will see how the async
and ...