Instantly share code, notes, and snippets.

Embed
What would you like to do?
Console app with async
using System.Threading.Tasks;
namespace ConsoleAsyncDemo
{
static class Program
{
static void Main(string[] args)
{
Main().Wait();
}
static private async Task Main()
{
//do async stuff
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment