0
Need a solution please
I'm a beginner. I try running a basic code on Visual studio and it keep saying ConsoleApp.exe has existed with code 0 (0x0)
4 ответов
+ 4
Chapter Black kindly show us your attempt firstly then only we can help you :)
Hope you understand 👍
+ 2
According to stackoverflow
You can disable it by checking the Tools > Options > Debugging > General > Automatically close the console when debugging stops option:
https://stackoverflow.com/questions/58179185/prevent-a-console-app-net-core-from-printing-exited-with-code-0-in-vs2019
other solution
Use a Console.ReadKey() or Console.ReadLine() at the end of Main().
+ 1
THANK YOU VERY MUCH
0
https://code.sololearn.com/c21dq5qbdc7a/?ref=app
I did that on Visual studio and it says visual studio cannot start debugging because the debug target C:\users\...
Build errors
ConsoleApp.exe has existed with code