Method overloading and null value
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/719546/c-passing-null-to-overloaded-method-which-method-is-called">C#: Passing null to overloaded method - which method is called?</a>  </p>
</blockquote>



<p>Consider these 2 methods:</p>

<pre><code>void Method(object obj)  { Console.WriteLine("object"); }
void Method(int[] array) { Console.WriteLine("int[]"); }
</code></pre>

<p>When I try calling:</p>

<pre><code>Method(null);
</code></pre>

<p>in Visual Studio 2008 SP1 I get <code>int[]</code>.</p>

<p>Why is this?</p>
