In C++ We can take multiple inputs from a user in a single line. So My Question is how can we take multiple inputs from the user in C# without using loop.
Thanks in Advance
split up your input by the spaces, store them into an array and handle individually.
// user text is "Take sword" String userInput = text.Split(' ');
userInput is “Take” and userInput is “sword”