Is there any way that i can edit/rewrite certain lines that have already bin printed by the Console.PrintLine() method? I have to be able to edit any line that is shown in the prompt.
This is an example on what the code that i'm trying to get running, maybe can look like:
public static void RewriteLine(LineNr, Text)
{
//Code
}
Console.WriteLine("Text to be rewritten");
Console.Writeline("Just some text");
RewriteLine(1, "New text");
Example to show which line that i want rewritten based on output from the previous code:
Text to be rewritten //This line (has already bin executed by the Console.WriteLine() method) shall be replaced by: "New text"
Just some text