.NET Fiddle

CSharp · Console

/Program.cs

using System;
using System.Diagnostics;
using System.Threading.Tasks;

public class Program
{
    static readonly Stopwatch sw = Stopwatch.StartNew();

    static void Log(string msg) =>
        Console.WriteLine($"[{sw.Elapsed.TotalSeconds:0.0}s] {msg}");

    public static async Task Main()
    {
        await TestWaitAsync();
    }

    public static async Task TestWaitAsync()
    {
        Log("Start");
        await Task.Delay(5000);
        Log("Done");
        Log("All done");
    }
}
;