Have a delay on c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Have a delay on c#

What is delay(in c++) in c#?

5th Aug 2019, 6:21 AM
AmirHosseinHabibi
AmirHosseinHabibi - avatar
1 Answer
+ 8
Heya, Matters if you're developing in console, winforms or something else In c# console, you will have to import "use system.threading" and then Thread.Sleep(milliseconds time); In winforms you'll have to make a object of timer, set him tick speed and then a sign event ontick =)
5th Aug 2019, 6:36 AM
Krysto Foxik 🐥
Krysto Foxik 🐥 - avatar