C#

Helpfulness: 0
Set Details Share
created 6 years ago by muddle_buds
101 views
Code
Subjects:
programming, c#
show moreless
Page to share:
Embed this setcancel
COPY
code changes based on your size selection
Size:
X
Show:
1

What is the console command to skip to the next line and display text?

Console.WriteLine("Text");

2

What is the simple way to set text to a "string" variable?

string userinput;
Console.ReadLine();
userinput = Console.ReadLine();
if (userinput == "___")
{
//Fill in this with what you want
}