摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 简单工厂模式 { //operation... 阅读全文
摘要:
大话设计模式之策略模式代码://现金收费抽象类 abstract class CashSuper { public abstract double acceptCash(double money); } //正常收费子类... 阅读全文