class Person { public int age; public Person() { age = 1; } } class Customer : Person { public Customer() { age += 1; }
If you did not have a default parameterless constructor then there would be a need to call the one with parameters:
class Person { public Person(string random) { } } class Customer : Person { public Customer(string random) : base (random) { } }