Comment ajouter un retard dans CSHARP

using System.Threading;

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