static void Main(string[] args) { //DemoInterfaceObj(); Bike b = new Bike { Name = "pulsar" }; // b.GetDetails(); BikeDrone bd = new BikeDrone(); IDrone id1 = bd; bd.GetDetails(); Console.WriteLine(bd.show(b.Name)); id1.GetDetails(); Console.ReadKey(); }