windows 10 one OS for all platforms

New in C# version 6.0 – AWAIT ASYNC in Catch/Finally

Finally a Long missing Feature has arrived: in C# 6.0 (check out the public preview of Visual Studio 2015) you will be able do await asynchronous operations within the CATCH and/or FINALLY block! 1234567891011121314151617public static async void DownloadAsync() { try { throw new Exception("Error"); } catch { await Task.Delay(2000); WriteLine("Waiting […]