title: How can I get a NullReferenceException in this code sample?
body: <pre><code>??? o = new ???();
  
  Console.WriteLine("ToString() -&gt; " + o.ToString() ); //&lt;--- Prints 'ToString() -&gt; '
  Console.WriteLine("GetType() -&gt; " + o.GetType()); //&lt;--- NullReferenceException
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <pre><code>ToString() -&gt; 
  
  Unhandled Exception: System.NullReferenceException: Object reference not set 
  to an instance of an object.
  at System.Object.GetType()
  at Program.Main(String[] args)
  </code></pre>
  
  <h3>Question</h3>
  
  <p>What is the type <code>???</code> and why does <code>o.ToString()</code> return <code>string.Empty</code> and <code>o.GetType()</code> throws a <code>NullReferenceException</code>?</p>
  
  <blockquote>
    <p><strong>Note</strong>: <code>GetType()</code> is not redefined in the <code>???</code> type.</p>
  </blockquote>