Skip to content

Instantly share code, notes, and snippets.

@noseratio
Last active November 8, 2021 23:59
Show Gist options
  • Save noseratio/717d378bc9f14db1ed30d0e2e67b0534 to your computer and use it in GitHub Desktop.
Save noseratio/717d378bc9f14db1ed30d0e2e67b0534 to your computer and use it in GitHub Desktop.
// https://try.dot.net/?bufferId=trydotnet.cs&fromGist=717d378bc9f14db1ed30d0e2e67b0534
// async/await doesn't work on try.dot.net, an open issue since Oct 2019:
// https://github.com/dotnet/try/issues/527
using System;
using System.Threading.Tasks;
public class Program
{
public static async Task Main()
{
Console.WriteLine("Hello...");
await Task.Delay(1000);
Console.WriteLine("World!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment