title: Inheritance with base class constructor with parameters
body: <p>Simple code:</p>
  
  <pre><code>class foo
  {
      private int a;
      private int b;
  
      public foo(int x, int y)
      {
          a = x;
          b = y;
      }
  }
  
  class bar : foo
  {
      private int c;
      public bar(int a, int b) =&gt; c = a * b;
  }
  </code></pre>
  
  <p>Visual Studio complains about the <code>bar</code> constructor:</p>
  
  <blockquote>
    <p>Error CS7036 There is no argument given that corresponds to the required formal parameter <code>x</code> of <code>foo.foo(int, int)</code>.</p>
  </blockquote>
  
  <p>What?</p>