title: Passing one Dimension of a Two Dimensional Array in C#
body: <p>I have moved from C to C#.
  I have a function which accepts an array. I want to pass one dimension of a Two Dimensional array to this function.</p>
  
  <p>C Code would be:-</p>
  
  <pre><code>void array_processing(int * param); 
  
  void main()
  {
    int Client_ID[3][50];
    /* Some 
       Processing 
       which fills 
       this array */
      array_processing(&amp;Client_ID[1]);
  }
  </code></pre>
  
  <p>Now, When I want to do same in C#, How can I pass this array?
  Function defination will look like:-</p>
  
  <pre><code>private void array_processing(ref int[] param);
  </code></pre>
  
  <p>and Array would be declared as :-</p>
  
  <pre><code>int[,] Client_ID = new int[3,50];
  </code></pre>
  
  <p>Now How can I pass <code>Client_ID[1]</code> to the function <code>array_processing()</code>??</p>
  
  <p>By doing <code>array_processing ( ref Client_ID[1])</code> shouts as "Wrong Number of Indices"!</p>