C#C
C#3y ago
55 replies
Mek

✅ How to make program wait before executing next print line?

Console.WriteLine("This is line one");
// sleep 2 seconds
Console.WriteLine("This is line two");
// sleep 2 seconds
Console.WriteLine("This is line three");
how do I get the program to wait in between each print statement? I know in Python its
import time time.sleep()
but this isn't python lol Thanks.
Was this page helpful?