2
How do I get someone to write on cmd
:
> tree
A message appears using the following command:
Console.Write("");
2
How do I get someone to write on cmd
:
> tree
A message appears using the following command:
Console.Write("");
3
You can use Console.ReadLine()
:
string entrada = Console.ReadLine();
if (entrada == "tree"){
Console.WriteLine("Mensagem!");
}
Thanks for the help :D I have to wait 5 minutes to put as the right answer
Browser other questions tagged c# cmd
You are not signed in. Login or sign up in order to post.
What is the purpose of this writing?
– Leonel Sanches da Silva
The obejective is that when you write Tree a message appears
– Pekita
Is that it? It’s not just a case of creating a Console Application calling for
tree
?– Leonel Sanches da Silva
I will make a joke with friends and I needed to do when writing Tree in cmd appear repeatedly in cmd virus not found
– Pekita