1,简单工厂模式
2,工厂模式
3,抽象工厂模式
4,单例模式
5,门面模式(装饰者模式)
6,迭代器模式
IEnumerable是典型的迭代器模式
7,策略模式
IComparer则是典型的策略模式
8,服务定位模式
9,观察者模式