private static async void SimpleWaitAsync() { SimpleVoidAwaitable awaitable = new SimpleVoidAwaitable(); await awaitable; Console.WriteLine("After await"); }
static async void SimpleWaitAsync() { SimpleGenericAwaitable <int> awaitable = new SimpleVoidAwaitable(); await awaitable; }
static async void SimpleWaitAsync() { SimpleGenericAwaitable<int> awaitable = new SimpleVoidAwaitable(); await awaitable; }