Example #1
0
        void PrintName()
        {
            CorporateCustomer cc = new CorporateCustomer();
            cc.Name = "Anand";

            // OR
            base.Name = "Dev";
            this.Name = "Singh";
        }
Example #2
0
        void PrintName()
        {
            CorporateCustomer cc = new CorporateCustomer();

            cc.Name = "Anand";

            // OR
            base.Name = "Dev";
            this.Name = "Singh";
        }