title: Print index from array
body: <p>I am working on a text-based game, and I want to print the results in the end.
  However, at the moment it only prints the latest input data and not the 5 loops in the array.</p>
  
  <p>This is my array</p>
  
  <pre><code>int[] turnarr = new int[5];
  
  turnarr[x] = turn;
  
  for (int i = 0; i &lt; turnarr.Length; i++)
       Console.WriteLine(turnarr[i] + "\t" );
  </code></pre>