title: why can not create instance from any class out side of constructor?
body: <p>why i generate instance outside of class. i give inheritance snifC to sinifD i need to create instance sinifC sinifc= new sinifC() in SinifD out side of constructor?</p>
  
  <pre><code>  public  class sinifC
      {
         public  void method3()
          {
              Console.WriteLine("Deneme3");
          }
      }
  
     public class sinifD : sinifC
      {
          void method4()
          {
              Console.WriteLine("Deneme4");
          }
  
          public sinifD()
          {
              sinifC sinifc = new sinifC();
              sinifc.method3();
          }
      }</code></pre>
  
  <p>i want to make it below:</p>
  
  <pre><code>
      public  class sinifC
      {
         public  void method3()
          {
              Console.WriteLine("Deneme3");
          }
      }
  
     public class sinifD : sinifC
      {
          void method4()
          {
              Console.WriteLine("Deneme4");
          }
  
  
              sinifC sinifc = new sinifC();
              sinifc.method3();
  
      }
  </code></pre>
  
  <p><b>Error: Invalid token '(' in class, struct, or interface member declaration</b></p>