Wait for a while without blocking main thread September 15, 2023 by Tarik You can use await Task.Delay(500); without blocking the thread like Sleep does, and with a lot less code than a Timer.