.NET Fiddle

CSharp · Console

/Program.cs

using System;
using System.Threading.Tasks;

namespace AsyncMain
{
    public class Program
    {
        public static async Task Main(string[] args)
        {
            var helloWorld = await GetHelloWorldAsync();
            Console.WriteLine(helloWorld);
        }

        static Task<string> GetHelloWorldAsync()
        {
			return null;
        }
    }
}
;