示例#1
0
        static void Main(string[] args)
        {
            IronMan    i = new IronMan();
            WarMachine w = new WarMachine();

            ArmorSuite a = new IronMan();
            ArmorSuite b = new WarMachine();

            i.Initialize();
            w.Initialize();

            a.Initialize();
            b.Initialize();
        }
示例#2
0
        static void Main(string[] args)
        {
            ArmorSuite armorSuite = new ArmorSuite();

            armorSuite.Initialize();

            IronMan ironMan = new IronMan();

            ironMan.Initialize();

            WarMachine warMachine = new WarMachine();

            warMachine.Initialize();
        }