async and await in C#

async and await in C#: Tasks, async and await.

Updated

  1. Tasks, async and await (Journeyman): A Task is work that finishes later. An async method can await a task, which frees its thread while it waits for a database or the network, so a web server can keep serving other requests. Await every async call, and name async methods with Async.