Quantcast Pause C# Web Application

An array of C#, PHP, and HTML programming articles, tutorials, and resources

Pause C# Web Application

by Victor | October 7, 2008 | In C#

Pausing a C# Web Application is easy and takes no more than one line of code.

Thread.Sleep(10000);

The number in RED is the number of milliseconds that the application will be paused. In the example above, the application will be paused for 10 seconds. Be sure to include at the top of your file:

using System.Threading;

Leave a Reply