How would I go upon detecting input for a console application in C#?
Let\'s say for example I want the console application to start up by writing: Welcome To Food Hu
Use string.split to find all words separated by a space.
input = Console.ReadLine(); string[] commands = input.Split(' '); if(commands[0] == "/food") { if(commands[1] == "Pizza"); ..... }