Skip to content

Instantly share code, notes, and snippets.

@NikolaZivkovicPackt
Created May 27, 2018 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NikolaZivkovicPackt/eddbf878314622e65c41a6c2ab149e1f to your computer and use it in GitHub Desktop.
Save NikolaZivkovicPackt/eddbf878314622e65c41a6c2ab149e1f to your computer and use it in GitHub Desktop.
private async Task WaitThreeSeconds(int param)
{
Console.WriteLine($"{param} started ------ ({DateTime.Now:hh:mm:ss}) ---");
await Task.Delay(3000);
Console.WriteLine($"{ param} finished ------({ DateTime.Now:hh: mm: ss}) ---");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment