Exception has occurred:
CLR/System.InvalidOperationException
An unhandled exception of type 'System.InvalidOperationException' occurred in System.Console.dll: '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 My_Program.Program.Main(String[] args) in C:\Users\hbril\Desktop\My Program\Program.cs:line 1
When debugging I can't get a console window to pop up and vscode won't read 'Console.ReadKey();'