Asynchronous Anonymous Methods

So a cool new feature in .NET 4.5 is the ability to create anonymous methods that are asynchronous (async).


Task.Run(async () => await Task.Yield());

That’s just a cool way of saying do nothing!

Leave a Reply