Last active
November 8, 2021 23:59
-
-
Save noseratio/717d378bc9f14db1ed30d0e2e67b0534 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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