title: printing all contents of array in C#
body: <p>I am trying to print out the contents of an array after invoking some methods which alter it, in Java I use:</p>
  
  <pre><code>System.out.print(Arrays.toString(alg.id));
  </code></pre>
  
  <p>how do I do this in c#?</p>