摘要: 有工厂模式引出抽象工厂模式,先看工厂模式实例代码: 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... 阅读全文
posted @ 2013-02-25 09:31 xiepeixing 阅读(258) 评论(0) 推荐(0) 编辑