title: Why does param object[] array become jagged if you pass an int[] array into it?
body: <p>As I was experimenting with <code>params</code>, I noticed the MS documentation says if you pass an array of <code>int</code> as a method parameter that has a signature of <code>params object[] myParam</code>, it will become a multi-dimensional array. But I noticed if you pass an array of <code>objects[]</code> or <code>strings[]</code> it does not. This seems like it would be a headache to work with, as you have to check for multi-dim arrays.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/w5zay9db.aspx" rel="nofollow">See MSDN link</a></p>
  
  <p>Example:</p>
  
  <pre><code>public static void UsingParams(params object[] myParam)
  {
      //Code to return myParam
  }
  
  //myParam[0][0] = {1, 2}, multi-dimensional
  int[] myIntArray = {1, 2};
  UsingParams(myIntArray);
  
  //myParam[0] = {"1", "2"}, single-dimensional
  string[] myStrArray = {"1", "2"};
  UsingParams(myStrArray);
  </code></pre>
  
  <p>Why does this occur?</p>