title: In C#, what happens when you call an extension method on a null object?
body: <p>Does the method get called with a null value or does it give a null reference exception?</p>
  
  <pre><code>MyObject myObject = null;
  myObject.MyExtensionMethod(); // &lt;-- is this a null reference exception?
  </code></pre>
  
  <p>If this is the case I will never need to check my 'this' parameter for null?</p>