How in c# console application on WriteLine i can do so it will replace each line of the same one in for loop?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/888533/how-can-i-update-the-current-line-in-a-c-windows-console-app">How can I update the current line in a C# Windows Console App?</a>  </p>
</blockquote>



<p>What i mean is that i have a for in a for loops.</p>

<pre><code>For (x=0; x&lt;this.Length;x++)
     { 
     for (y=0; y&lt;this.Length;y++)
          {
           Console.WriteLine("Working on file " + images[x] + " please wait");
          }
     }
</code></pre>

<p>The line Console.WriteLine("Working on file " + images[x] + " please wait");
Will write in the console window each images[x] file line under line.
I want that it will write it once and then overwrite the same line and so on.
Not line under line . Like counting "Working on file 0001 please wait"
Then next line will replace the same one "working on file 0002 please wait"</p>

<p>I tried to put Console.Clear(); after the Console.WriteLine but then its like blinking doestn work smooth.</p>
