如何在C#中为程序添加延迟?
c# delay
我正在使用C#编写ASP.NET MVC3.我想在for循环的每次迭代之间添加一些延迟.
for(int i=0; i<5; i++) { //some code //add delay here }
那我该怎么办呢?
c# for-loop timer asp.net-mvc-3
c# ×2
asp.net-mvc-3 ×1
delay ×1
for-loop ×1
timer ×1