Do I or do I not need Console.ReadLine();? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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.

25th Apr 2019, 2:37 PM
Krys
Krys - avatar
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
25th Apr 2019, 3:57 PM
Sai
Sai - avatar
0
Thanks!
25th Apr 2019, 5:28 PM
Krys
Krys - avatar