会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zkzk945
专注技术,实现产品
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2016年1月11日
迭代器模式 c#
摘要: 抽离集合对象的遍历职责。using System;using System.Collections;using System.Collections.Generic;using System.Linq;namespace ConsoleApplication1{ class Program...
阅读全文
posted @ 2016-01-11 18:05 zkzk945
阅读(177)
评论(0)
推荐(0)
编辑
访问者模式 c#
摘要: using System;using System.Collections;using System.Collections.Generic;using System.Linq;namespace ConsoleApplication1{ class Program { p...
阅读全文
posted @ 2016-01-11 17:40 zkzk945
阅读(173)
评论(0)
推荐(0)
编辑
备忘录模式 c#
摘要: 备忘就是为了恢复数据嘛, 电脑系统知道什么需要保存什么不需要保存,文件夹只提供保存的位置,不关心具体的保存行为。using System;using System.Collections;using System.Collections.Generic;using System.Linq;nam...
阅读全文
posted @ 2016-01-11 16:09 zkzk945
阅读(110)
评论(0)
推荐(0)
编辑
中介者模式 C#
摘要: 相亲的时候如果有个媒婆,那么就会避免很多不必要的麻烦了撒。using System;using System.Collections;using System.Collections.Generic;using System.Linq;namespace ConsoleApplication1{...
阅读全文
posted @ 2016-01-11 15:01 zkzk945
阅读(127)
评论(0)
推荐(0)
编辑
状态者模式 c#
摘要: 某一对象由于有不同的状态,而产生不同的行为。using System;using System.Collections;using System.Collections.Generic;using System.Linq;namespace ConsoleApplication1{ cla...
阅读全文
posted @ 2016-01-11 14:18 zkzk945
阅读(140)
评论(0)
推荐(0)
编辑