Pausing on a line of code for a few seconds(delay) before moving to next code in C#?
<p>I would like to display a message for a few seconds before moving on to executing code that follows.
How can I do this in C#?</p>

<pre><code>page load ()....
{
    label1.text="Thank you for your input";
    Delay by 3 seconds??? before entering codeX
    codeX....
    code....
}
</code></pre>

<p>Is it as simple as using a <code>wait(3000)</code>?</p>

<p>Clarifying my Question:
I am creating a survey web part in sharepoint and would like to display the message "Thanks for your vote" for 3 seconds before rendering the results of the survey. I am assuming I could use the timer inside of an AJAX update panel, that way It wouldnt affect the rest of the page? I hope this clarifies my Question. Please let me know, the best way I can implement this. Thanks</p>
