title: Is there a way to save what the user has inputted via "Console.ReadLine()" in C#?
body: <p>I'm trying to make a program on Microsoft Visual Studio where it would create a list of things that the user input and put them in order from 1 to x (x being how every many things you input). It's a little bit hard to explain but this is roughly how it works: you would input a number (for example &quot;7&quot;) and it would ask you to type 7 different things into the console. Once you're finished, it would randomly pick two different things that you entered and it would ask you which one you liked more. Eventually, using a bracket like system it would narrow it down to a winner and would make a list from the best to worst.</p>
  <p>This is my code for when you enter x number of things for the list:</p>
  <pre><code>int numberOfThings = Convert.ToInt32(Console.ReadLine()); 
  int times = 0;
  do
  {
      Convert.ToString(Console.ReadLine());
      times = times + 1;
  }
  while (numberOfThings != times);
  </code></pre>
  <p>The code works well but I'm having a hard time figuring out how to save the inputs from &quot;Console.ReadLine()&quot; to strings. There could be an easy answer for this but I'm fairly new to C# and I guess coding in general. Thank you in advance :)</p>