title: C# How to reference an inherited class from a base class
body: <p>I am trying to refernce an inherited class from a base class, here's an example of what I have:</p>
  
  <pre><code>public class A
  {
  //Some methods Here
  }
  public class B : A
  {
  //Some More Methods
  }
  </code></pre>
  
  <p>I also have a <code>List&lt;A&gt;</code> of which I've added <code>B</code> to, and I'm trying to access <code>B</code> from. Is there a way I can get <code>B</code> from the <code>List&lt;A&gt;</code> I have?</p>