I am new to asynchronous programming with the async modifier. I am trying to figure out how to make sure that my Main method of a console applicati
async
Main
Haven't needed this much yet, but when I've used console application for Quick tests and required async I've just solved it like this:
class Program { static void Main(string[] args) { MainAsync(args).Wait(); } static async Task MainAsync(string[] args) { // Code here } }