title: C# abstract class desgin, is that possible put a constuctor in abstract class and call base to access them
body: <p>I was practicing c# abstract class and inheritance, but I was wondering if derived classes could access the constructor by calling the base</p>
  <pre><code>public abstract class A
  {
      protected bool value_A;
      protected int value_B;
      public A(int input)
      {
        A = true;
        B = false;
      }
      public abstract int function_B();
    }
  
  }
  public class childA : A
  {
      public childA (int input):base(input)
      { 
      }
      public override int function_B()
      {
        //do smth
      }   
  }
  public class childB : A
  {
      public childB(int input):base(input)
      {   
      }
      public override int function_B()
      {
        //do something different
      }
      public void functionC(int input)
      {
          
      }   
  }
  </code></pre>
  <p>I was confused if I should use this abstract class design or just go ez by using inheritance -&gt; declare a virtual function in class A.</p>