Rewriting characters in command window
c#, console-application
Solution
Have a look at Writing string at the same position using Console.Write in C# 2.0
- Console.SetCursorPosition Method
- Console.CursorLeft Property
- Console.CursorTop Property
Problem
I want to output some characters in C# console application and then rewrite them, thus changing characters in position already occupied in command window. So for for example I could show progress in percentages 10%, 20%, 30% (but in the same place). How can I do that?