Skip to content

Instantly share code, notes, and snippets.

@luisrudge
Created April 23, 2014 19:43
Show Gist options
  • Save luisrudge/11229621 to your computer and use it in GitHub Desktop.
Save luisrudge/11229621 to your computer and use it in GitHub Desktop.
async console app
using System.Threading.Tasks;
namespace ConsoleApplication1 {
internal class Program {
private static void Main(string[] args) {
RunAsync().Wait();
}
private static async Task RunAsync() {
//your async code
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment