I’m currently refreshing my knowledge skills of C# (C Sharp), starting with a work through of C# Programming (Mike McGrath) to help with my ASP.NET university project. On my desktop computer I’m using Visual Studio instead of Visual Studio Code (my preferred IDE for most languages), but on my ageing laptop Visual Studio takes an age to start so I have kept to using Visual Studio Code on the laptop.
One quirk I’ve noticed is that Visual Studio Code was calling a non-interactive console when running the program I was writing. The program would run but would not receive input I tried to send it. The solution for this is to change the launch.json within the projects .vscode directory so that the “console” line reads “integratedTerminal” and not “internalConsole”.
In my screen shots this change can be seen on line 17.