Exemplo n.º 1
0
    static void main(string[] args)
    {
        System.Console.WriteLine("Creating ArmorSuite...");
        ArmorSuite armorsuite = new ArmorSuite();

        armorsuite.Initialize();

        System.Console.WriteLine("\nCreating IronMan...");
        ArmorSuite ironman = new IronMan();

        ironman.Initialize();

        System.Console.WriteLine("\nCreating WarMachine...");
        ArmorSuite warmachine = new WarMachine();

        warmachine.Initialize();
    }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            for (int i = 0; i < 4; ++i)
            {
                WriteLine(i + " Hello");
            }

            Print(name: "유형민", phone: "010-4489-9371");

            InitIronMan ArmorSuite = new InitIronMan();

            ArmorSuite.Initialize();

            InitIronMan IronMan = new IronMan();

            IronMan.Initialize();

            InitIronMan ArmorSuite2 = new ArmorSuite();

            ArmorSuite2.Initialize();
        }