title: Multiplying a 2d array in its entirety c#
body: <p>I'm trying to make a 2d array that is double another 2d array. For example, if I had an array that had a height of 2 and a width of 2, the new one would have double the amount. Same goes for its contents: if the original array consisted of <code>1,0,2,0</code> I would want the new array to consist of <code>1,1,0,0,2,2,0,0</code>.<br />
  Does anybody know how to do this, or if its possible?</p>
  <pre><code>int height = 2;
  int width = 2;
  int[,] arr1 = new int[height,width];
  arr1[0,0] = 0;
  arr1[0, 1] = 2;
  arr1[1, 0] = 1;
  arr1[1, 1] = 0;
  int newheight = height * 2;
  int newwidth = width * 2;
  int[,] newarr = new int[newheight, newwidth];
  </code></pre>