+ 4

How should I take input in c# without Sololearn will ask for input before the code runs??

6th Oct 2017, 12:44 PM
G.G DOMINOES
G.G DOMINOES - avatar
6 Antworten
+ 10
SoloLearn Code Playground accepts user input in one-go. That means it won't run and wait for user input as it might waste the server resource for waiting indefinitely. Related https://www.sololearn.com/Discuss/764442/?ref=app
6th Oct 2017, 3:51 PM
Zephyr Koo
Zephyr Koo - avatar
+ 5
OK thank you!
6th Oct 2017, 7:17 PM
G.G DOMINOES
G.G DOMINOES - avatar
+ 4
No, I mean, when I want to run my code, and I use Console.ReadLine(); it says I need to submit an input for my code before it shows me the excute. So, if I want to ask a question in my code, for example "what is your name?" and then the user need to input his name. Sololearn will ask for the input before the user can see the questions
6th Oct 2017, 2:53 PM
G.G DOMINOES
G.G DOMINOES - avatar