Pokud aplikace nemá konzolu nebo je-li výstup konzoly přesměrován do souboru, nelze zjistit, zda došlo ke stisknutí klávesy. Použijte funkci Console.In.Peek.
Click to search this error in Google
English version
Cannot see if a key has been pressed when either application does not have a console or when console input has been redirected from a file. Try Console.In.Peek.