A subclass in C# can code example
Example: c# implement a superclass in subclass
class Sedan : Vehicle
{
}
// class Sedan will now inherit Vehicles' members
class Sedan : Vehicle, IAutomobile
{
}
// Sedan will now inherit Vehicles' members and promise to
// implement the functions of interface IAutomibile