首页 > 解决方案 > Erase only one already printed character from the console in c#

问题描述

So I want to create a script that first prints out values from a (pretty big) 2D array and then change one character by erasing it and printing a new one without clearing out the whole console and redrawing it because that creates flickering which is very annoying when i want to make often changes. So is there any way to replace or erase one character that has been already printed or any other efficient way to do it? I just don't want flickering.

标签: c#console

解决方案


移动光标并写一个空格“”。(或者您想用作替代的任何字符。)


推荐阅读