Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Clerk zsClerk = new Clerk("张三", "人事部");

            Sales            zsSales = new Sales("张三", "人事部", 2500);
            TechnicalSupport zsTC    = new TechnicalSupport("张三", "人事部", 0.98);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Clerk zsClerk = new Clerk("张三", "人事部");

            zsClerk.CSayHello();
            Sales zsSales = new Sales("和珅", "和府", 2500);

            zsSales.SSayHello();
            TechnicalSupport zsTC = new TechnicalSupport("纪晓岚", "纪府", 0.98);

            zsTC.TSSayHello();
            Console.ReadLine();
        }