[VS Code] Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.
在VS Code运行C# Console程序报错。

原因:

解决方案:
1.打开launch.json.

2.修改 "console": "internalConsole" --> "console":"integratedTerminal".

浙公网安备 33010602011771号