Possible duplicate:
How to update the current line in a C # Windows console application?
What I mean is that I have a for for for loops.
For (x=0; x<this.Length;x++) { for (y=0; y<this.Length;y++) { Console.WriteLine("Working on file " + images[x] + " please wait"); } }
Line Console.WriteLine ("Work on the file" + images [x] + "please wait"); They will record in the console window each line of the file [x] under the line. I want him to write it once, and then rewrite the same line and so on. Not a line under a line. Like the count "Work on file 0001, please wait" Then the next line will replace the same "Work on file 0002, please wait"
I tried installing Console.Clear (); after Console.WriteLine, but then its like doestn flashing works smoothly.
Daniel Lip
source share