예제 #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
파일: Program.cs 프로젝트: ch9294/OOP-KMU-
        static void Main(string[] args)
        {
            ArmorSuite armorSuite = new ArmorSuite();

            armorSuite.Initialize();

            IronMan ironMan = new IronMan();

            ironMan.Initialize();

            WarMachine warMachine = new WarMachine();

            warMachine.Initialize();
        }