title: how to impliment constructor in inheritence in c#
body: <p>I am very beginner in c#. I created base class and derived class but i do not understand behavior of constructor in derived class it gives error "does not contain constructor that take 0 arguments" how to use it in derived class</p>
  
  <pre><code> class A
      {
         public int x, y, z;
  
         public A(int i, int j)
         {
             x = i;
             y = j;
         }
          public void add(int i,int j)
          {
              z=x + y;
              Console.WriteLine(z);
          }
      }
      class B : A
      {
          public B (int k, int l)
          {
              x=k;
              y=l;
          }
  
          public void multi(int k,int l)
          {
              z = x * y;
              Console.WriteLine(z);
          }
      }
  </code></pre>
  
  <p>Usage:</p>
  
  <pre><code>    class Program
      {
          static void Main(string[] args)
           {
              A ad = new A(5,6);
              B m = new B(8, 9);
           }
      }
  </code></pre>