У меня проблемы с очисткой консоли на C#C#

Место общения программистов C#
Anonymous
У меня проблемы с очисткой консоли на C#

Сообщение Anonymous »


У меня возникли проблемы с очисткой консоли с помощью метода:

Код: Выделить всё

Console.Clear();
Apparently it clears only the visible part of console. When i scroll up the earlier text is still there not deleted.
i tried to give it time to clear so i put the:

Код: Выделить всё

Thread.Sleep(1000);
before and after the method but it doesn't work


Источник: https://stackoverflow.com/questions/781 ... in-c-sharp

Вернуться в «C#»