title: C# Array Output in vertical form
body: <p>I am using this program as an example which sort these arrays according to "b".</p>
  
  <pre><code>int[] a = { 5, 2, 3 }; 
  
  int[] b = { 4, 1, 2 };
  
  string[] c = { "John", "Peter", "Max" };
  
  Array.Sort(b.ToArray(), c);
  
  Array.Sort(b.ToArray(), a);
  
  Array.Sort(b);
  
  Console.WriteLine(string.Join(", ", a));
  
  Console.WriteLine(string.Join(", ", b));
  
  Console.WriteLine(string.Join(", ", c));
  </code></pre>
  
  <p>The Result is:</p>
  
  <pre><code>2, 3, 5
  
  1, 2, 4
  
  Peter, Max, John
  </code></pre>
  
  <p>I want to make the result appear vertically for e.g.</p>
  
  <pre><code>2    1    Peter
  
  3    2    Max
  
  5    4    John
  </code></pre>