public static void Main() { customer c = new customer(); //to call explicit interface we typecast first ((ICustomer)c).print(); //to call default implemenation c.print(); }
public static void Main() { customer c = new customer(); c.print(); }
public static void Main() { customer c = new customer(); //to call explicit interface we typecast first ((ICustomer)c).print(); //to call default implemenation c.print(); }
public static void Main() { customer c = new customer(); c.print(); }