Cómo agregar un retraso en csharp

using System.Threading;

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