CSharp examples for Custom Type:Inheritance
The base keyword is similar to the this keyword with two essential purposes:
Accessing an overridden function member from the subclass
Calling a base-class constructor (see the next section)
public abstract class Item { public abstract decimal NetValue { get; } } public class Company : Item { public override decimal Liability => base.Liability + Mortgage; }