I m a beginner starting with C#, and I m not really sure what to do. I ve exhausted all the methods I can come up with (reinstalling vscode, ctrl + f5, etc.) And I m certain it s not a problem with my code, as it runs fine when I tried it on an online compiler. I m sure that this will be just the first of many questions I ll ask on Stack Overflow. So thank you for all the help!
在这方面,我做了一些事情:
- Ran the project using an online compiler (the code worked there)
- Completely reinstall VS Code (deleted "Code" in %appdata%) and .NET
- Used Console.ReadKey(); at the end,
- Ran without debugging (CTRL + F5)
- Disabled/Uninstalled the extensions
- Updated .NET
- Set the integrated terminal to "Powershell"
- Disabled Debug › Console: Close On End