0
IO Exception: the handle is invalid
I'm trying to clear the console but after adding Console.Clear(), I'm getting an IO error. https://code.sololearn.com/cAk8kEpmKzKG/?ref=app This is the code in question.
2 ответов
+ 2
Console.Clear() will throw an error (IOException) if it is redirected from a normal console output. This means that it most likely will not work in the Sololearn code playground.
0
Ah, that's disappointing. Thanks for the answer