Back to Csharplang

Async Using

proposals/csharp-8.0/async-using.md

latest365 B
Original Source

Async using declaration

Champion issue: https://github.com/dotnet/csharplang/issues/43

In C# 8.0 we added support for an async using statements. There are two forms. One has a block body that is the scope of the using declaratation. The other declares a local and is implicitly scoped to the end of the block. This is a placeholder for their specification.