Sorry, I've just started programming in C#. I would like to know what's the easiest way to read a character or characters from the console and store the value into a variable to be written to the console at a later point.
Thank you!
Sorry, I've just started programming in C#. I would like to know what's the easiest way to read a character or characters from the console and store the value into a variable to be written to the console at a later point.
Thank you!
That would be:
string input = Console.ReadLine();