I\'m working on ASP.NET MVC3 with C#. I want to add some delay between each iteration of for loop.
for(int i=0; i<5; i++) { //some code //add dela
How about something like
System.Threading.Thread.Sleep(1000);
Thread.Sleep Method (Int32)