C#C
C#3y ago
Eagle

✅ After 2 wrong guesses, the program closes immediately

As the title says, after 2 wrong guesses the program doesnt show the text, or wait 3000 milliseconds. It just closes immediately. I dont know if Environment.Exit is a correct command to use in this situation, i just looked it up. Basically, after 2 wrong guesses i want the program to wait 3 seconds and then close.
Screenshot_2023-03-19_190524.png
Was this page helpful?