+ 1
Timer
How do you create a timer in C#? And make it do something whenever that timer ends?
2 ответов
+ 5
If I can understand what you say(my english is terrible, sorry), you can use these:
System.Threading.Thread.Sleep(milisec);
or StopWatch
Feel free to correct me, if I made any mistake.
0
You can use Timer class, it has a very useful methods
Timer time = new Timer();
time.Start();
...
time.Stop();