Quantcast
Channel: Daily .NET Tips » What’s New in C#6.0
Viewing all articles
Browse latest Browse all 9

Using await in a catch or finally block – in C# 6.0

$
0
0
Using Async methods are very common now a days and while working with  async and await,  you may have experienced that you want to put some of the result awaiting either in a catch or finally block or in both. Consider a scenario, when there is an exception  and you want to log information into file or sending [...]

Viewing all articles
Browse latest Browse all 9

Trending Articles