SyntaxFix
Write A Post
Hire A Developer
Questions
Here is the simplest way to do this
static void Main(string[] args) { Task t = MainAsync(args); t.Wait(); } static async Task MainAsync(string[] args) { await ... }