Skip to content

Instantly share code, notes, and snippets.

@Ibro
Last active January 6, 2018 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ibro/74c7713ac6b5fd430b680cf182e2efa3 to your computer and use it in GitHub Desktop.
Save Ibro/74c7713ac6b5fd430b680cf182e2efa3 to your computer and use it in GitHub Desktop.
class Program
{
static void Main(string[] args)
{
MainAsync(args).GetAwaiter().GetResult();
}
static async Task MainAsync(string[] args)
{
Console.WriteLine("Do Stuff");
await SomeAsyncMethod();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment