title: Trying to print multiple entries from the same variable
body: <p>I'm curious if there's a way I can loop multiple entries of the same string variable? Basically I'm wanting to print multiple entries of the players name into a For Loop, however I'm having a brainfart and I'm stumped on how I can extend off the simple piece of code I've written so far with my while-loop.</p>
  
  <pre><code>    class Program
  {
      static void Main(string[] args)
      {
      string choice = "y";
      string player_name = "";
  
      while (choice == "y")
      {
  
          Console.WriteLine("Enter the players name: ");
          player_name = Console.ReadLine();
  
  
          Console.WriteLine("Would you like to enter another player? y/n");
          choice = Console.ReadLine();
  
      }
      Console.WriteLine(player_name);
  
      Console.ReadLine();
  
      }
  }
  </code></pre>