Unhandled exception. System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.
at System.ConsolePal.ReadKey(Boolean intercept)
at System.Console.ReadKey()
at funx1.funx2.Main(String[] args) in /home/ZoHI8u/Project/Program.cs:line 6