C#C
C#2y ago
18 replies
Kapa._

Press enter only

I want to code a loop which only takes spacebar for the code to loop.

E.g.
While (true)
{
Console.ReadKey(" ")
loop...
}

However, this isint working.
Was this page helpful?