C# 5 introduced two keywords to simplify working with the Task type. They are especially useful for the following:
- Implementing multitasking for a graphical user interface (GUI)
- Improving the scalability of web applications and web services
In Chapter 15, Building Web Sites Using ASP.NET Core MVC, and in Chapter 16, Building Web Services and Applications Using ASP.NET Core, we will explore how the async and await keywords can improve scalability in websites, web services, and web applications.
In Chapter 17, Building Windows Apps Using XAML and Fluent Design, and in Chapter 18, Building Mobile Apps Using XAML and Xamarin.Forms, we will explore how the async and await keywords can implement multitasking with a GUI running on Universal Windows Platform and Xamarin.
For now, let's learn the theory of why these two C# keywords were introduced,...