title: I can't access a derived class method that is instantiated in an array
body: <p>I was testing with some code and occasionally I can't access a method that is in a derived class.What could I be doing wrong?</p>
  
  <pre class="lang-cs prettyprint-override"><code>namespace Example
  {
      class Program
      {
          static void Main(string[] args)
          {
              A[] test = new A[2];
              test[0] = new B();
              test[0].Example();
              test[0].Example1();
          }
          public class A
          {
              public void Example()
              {
  
              }
          }
          class B : A
          {
              public void Example1()
              {
  
              }
          }
      }
  }
  </code></pre>