Demistifying async/await
Microsoft introduced new keywords in C# 5.0 for asynchronous programming. Before C# 5.0 async. programming was only possible with .NET Framework classes. Now it’s implemented in the C# language itself. Here is a simple demo which shows how the keywords can be used. public async Task<string> DownloadFromWeb() { var client = new HttpClient(); return await… Read More »