title: Delete elements from 2d array c#
body: <p>How ca I delete an entire row from an 2d array? I want to keep deleting 1 row from the array shipPosition,untill it doesn`t have any elements. </p>
  
  <pre><code>shipPosition -= shipPosition[0,0] 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>shipPosition -= shipPosition[0,1]
  </code></pre>
  
  <p>E.g.</p>
  
  <pre><code>int[,] shipPosition = new int[3, 2];
  
  shipPosition[0, 0] = 2;
  shipPosition[0, 1] = 3;
  shipPosition[1, 0] = 4;
  shipPosition[1, 1] = 5;
  shipPosition[2, 0] = 6;
  shipPosition[2, 1] = 7;
  </code></pre>