title: Double every value in the array
body: <p>Hi I wrote a code that supposed to double every value in the array. For unknown reason it doesn't display horizontal instead it displays vertical, and it combines the original number with the new double values how do I split them from the each other and display them horizontally. I be very thank full if you could help me. </p>
  
  <pre><code> int[] A = { -2, 5, -1, 9, -6, 23, 67, 1, -8, 7, -3, 90 };
  
   Console.WriteLine("\n=====================\n");
   Changes(A); //&lt;&lt;&lt; original index value
   Console.WriteLine("\nEvery Value gets doubled");
  
   Changes(A); //&lt;&lt;&lt; new changes
  </code></pre>
  
  <p>The <code>Changes()</code> method:</p>
  
  <pre><code>static void Changes(int[] array) //&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; methods
  {
      Console.WriteLine("\n=====================\n");
      for (int i = 0; i &lt; array.Length; i++)
      {
          Console.WriteLine("{0}", array[i]); //&lt;&lt;&lt; display orgininal value
          array[i] *= 2;
          Console.WriteLine("{0}", array[i]); // &lt;&lt;new value
      }
      Console.WriteLine("\n=====================\n");
  }
  </code></pre>