New course! Every coder should learn Generative AI!
Try a free lesson0
Do I or do I not need Console.ReadLine();?
In codeplayground I don't need Console.ReadLine(); to be able to see my output on the console. I only need to write Console.WriteLine(); . But if I try this on VisualStudios I need the Console.ReadLine(); to see my work on the console. I just wanted clarification on whether or not I actually need Console.ReadLine, because apparentely you don't need it when you code on Sololearn.
2 Answers
+ 1
yea you do, since it just makes the screen stay and let you read it. Codeplayground probably has made it so you dont need
0
Thanks!