Can I display text, then get user input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I display text, then get user input?

An example would be what is your favorite color? Give the user an input field and store the value, and then continue the code, maybe displaying some end result? It seems this program requires user input before any text is displayed. I know on computer I can do this. Is it some limitation of the coders playground or am I just missing something?

9th Aug 2016, 5:50 PM
Bucuru Romaki
Bucuru Romaki - avatar
1 Answer
+ 5
Code playground provides a simulation of "Console Application" mode. Which runs on a command line with no graphical interface. Using fields, textboxs and buttons are available in "Windows application" and "WPF" modes. For coding in WPF and "Windows Application" you have to use Visual studio.
9th Aug 2016, 7:21 PM
Alireza M
Alireza M - avatar