Example #1
0
        public VisitorPatternApp()
        {
            TaxAuditor  auditor = new TaxAuditor();
            Furniture   chair   = new Furniture(100);
            Electronics phone   = new Electronics(20000);

            chair.Accept(auditor);
            phone.Accept(auditor);
        }