c# implement a superclass in subclass

C#
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
Source

Also in C#: