摘要:
有工厂模式引出抽象工厂模式,先看工厂模式实例代码: public abstract class Product { public abstract void work(); } public class ProductA : Product { public override void work() { Console.Write("ProductA"); } } public class ProductB : Product { public override... 阅读全文