Windows form applicatiion thread sleep alternatives (c#) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Windows form applicatiion thread sleep alternatives (c#)

If i use Thread.Sleep in windows form app,it dosn't stop the threading,it only don't allow you to do anything like click buttons. What can i use if i want to freeze the program for a second,so that the computer will stop reading the code in that time?

30th Sep 2018, 9:28 PM
gil gil
1 Answer
+ 1
Try extreme one, a loop until the time is over😂😂😂
30th Sep 2018, 11:25 PM
ShortCode