public static void Main()
        {
            customer c = new customer();

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

            c.print();
        }