using System;
using System.Threading.Tasks;
public class Program
{
public static void Main()
DateTime Start = DateTime.Now;
ExampleMethod().Wait();
Console.WriteLine("Seconds needed to complete execution of async method: " + (DateTime.Now - Start).TotalSeconds);
}
public static async Task ExampleMethod()
await Task.Delay(1000);