Hi there...
If I print out stuff to the console... is there a way to print over that existing text... rather than printing again a new line...
Console.Write("This is a bunch of text that gets printed to screen");
Console.ReadKey();
Console.Write("****");
This should output..... (after the keyInput pause... So it over writes the existing text in the console instead of making a new line.
Quote**** is a bunch of text that gets printed to the screen
Basically I am working on my 1st complete console project as I go through this book called The C# Players Guide and it is asking me to make a TicTacToe game.. I would like to modify the "map" instead of printing out entire new ones and scrolling the game upward..
So... I would like to be able to do the above code but get THIS output.
QuoteThis is a bunch of **** that gets printed to screen
Now I am sure it can do this, but my unfamiliarity with the subject makes googling hard as tons of info comes up not related to what I am asking. I would imagine is a char[][] that represents the console window and I could use this to print at any point of the window with Console.Write(); ... but I do not know exactly how, or how I can make a char[][] as diffrent users may have a different sized console window and stuff.
TL;DR - How can I write into the console and replace existing text in the console instead of adding a new line or new chars at the end of an existing line?