C# Output Console | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

C# Output Console

Guys can anyone help me out, I got this issue, every time I try to run any kind of code, console automatically shuts, the console window just pops in and out... I can read output of my code only if have "readline" command at the end. Can anything be done in VS settings to keep console on, without extra "readline" command.??

14th Jul 2018, 1:11 PM
Jasmin Kahrić
Jasmin Kahrić - avatar
2 Answers
0
Marcus thanks for responding :). Yeah.. But my VS is set by default on (debug) and only other option is (assemble).. So, Readline is kinda only way to make code visible
16th Jul 2018, 9:59 AM
Jasmin Kahrić
Jasmin Kahrić - avatar
0
I always keep it in debug, yes it's console application. I was digging around settings a bit xd but got some other issues afterwards xd so now I reinstalled it. But same thing, I can read only if I leave Readline command at the end For ex. if I have like; int x = 3; Console.WriteLine(x); I don't see anything if I don't input Readline command
17th Jul 2018, 9:12 PM
Jasmin Kahrić
Jasmin Kahrić - avatar