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

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

            c.print();
        }