title: What does the c# Class type declaration say?
body: <pre><code>Class ObjName = new Class();
  </code></pre>
  
  <p><br>
  <em>This question is related</em> to the fact that i tumbled over a definition as follows:</p>
  
  <pre><code>public class Thing{
  // Stuff
  }
  public class Animal:Thing{
  // Stuff
  }
  </code></pre>
  
  <p>Followed by this declaration <code>Thing x = new Animal();</code></p>
  
  <p><strong>Related question:</strong> How is the first class definition/type related to the second (after the new keyword)?</p>
  
  <p><a href="http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_memory2B01142006125918PM/csharp_memory2B.aspx" rel="nofollow">Link to the related article, by: Matthew Cochran</a></p>