Category "iasyncdisposable"

ConfigureAwait(false) and struct implementation of IAsyncDisposable

I have implemented IAsyncDisposable with an ActionOnAsyncDispose struct as shown below. My understanding is that the compiler will not box it when it is in an a

How to deal with IAsyncDisposable and IDisposable interfaces when no synchronous dispose available? [closed]

I am writing a Connection like class around an interop object. In particular, the closing of my connection is asynchronous. The object I am in

What is the difference between using and await using? And how can I decide which one to use?

I've noticed that in some case, Visual Studio recommends to do this await using var disposable = new Disposable(); // Do something Instead of this using var di