示例#1
0
        static void Main(string[] args)
        {
            AbstractFactory factory1 = new Factory1();

            factory1.Run();

            AbstractFactory factory2 = new Factory2();

            factory2.Run();
        }