How do I get someone to write to cmd
:
> tree
Display a message using the following command:
Console.Write("");
How do I get someone to write to cmd
:
> tree
Display a message using the following command:
Console.Write("");
You can use Console.ReadLine()
:
string entrada = Console.ReadLine();
if (entrada == "tree"){
Console.WriteLine("Mensagem!");
}