how to provide value to parent class constructor where parent constructor have more argument than child class from static void main in c#? [closed]

Your base class constructor is this: public Customer(int _Cid,int _Bal,String _Cname) Your derived class constructor is this: public Stat(bool _Status) In C# when you instantiate a derived class, the base class must be called. Where the base class only has a parameterless constructor, this is done implicitly before the derived class constructor body is executed. … Read more