Пример #1
0
        static void Main(string[] args)
        {
            Creator[] creators = new Creator[2];
            creators[0] = new CreatorA();
            creators[1] = new CreatorB();

        }
Пример #2
0
 static void Main(string[] args)
 {
     Creator[] creators = new Creator[2];
     creators[0] = new CreatorA();
     creators[1] = new CreatorB();
 }