Working with async/await in .Net 4.8
await waits for the completion of an asynchronous operation and directly catches any errors that occur during this process. This ensures that you don’t overlook exceptions. If you only assign the task to a variable and do not await it e.g., _ = DoSom...
May 27, 20236 min read352
