Jak dodać opóźnienie w CSHARP

using System.Threading;

var delay = 1000;
Thread.Sleep(delay);
Gurra04