How to show a question when asking for input ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to show a question when asking for input ?

In C# when using : Console.ReadLine(); Program will ask for input but it will not state what it needs . Is there a way to display a question above the text based input field ?

23rd Apr 2017, 12:26 AM
Wau
2 Answers
+ 16
not possible in code playground.
23rd Apr 2017, 12:33 AM
Ulisses Cruz
Ulisses Cruz - avatar
+ 2
use Console.WriteLine("paste the message here"); before the Console.ReadLine();
23rd Apr 2017, 12:53 AM
Elghozi Nasreddine
Elghozi Nasreddine - avatar