
设计模式
ws_hgo
个人爱好:篮球,看书,音乐,电影.
夫英雄者,胸怀大志,腹有良谋,有包藏宇宙之机,吞吐天地之志者也.
展开
-
简单的工厂模式
所有的代码都是根据大话设计模式而来的 在没有看设计模式的时候要我做下面的题目简易计算器代码using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program原创 2010-05-14 15:27:00 · 956 阅读 · 5 评论 -
代理模式之泡MM
代理模式之泡MM原创 2010-10-12 09:40:00 · 1509 阅读 · 6 评论 -
浅复制&深复制
<br />--浅复制<br /> class Resume:ICloneable { private string UserName; private string Sex; private int Age; private string Company; private string TimeArea; public Resume(string Name) {原创 2010-11-15 10:07:00 · 1502 阅读 · 0 评论 -
外观模式
外观模式原创 2011-01-14 09:13:00 · 914 阅读 · 1 评论 -
建造者模式
建造者模式原创 2011-01-14 09:14:00 · 803 阅读 · 2 评论 -
观察者模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace observerModel { interface Subjec原创 2011-07-06 14:35:36 · 793 阅读 · 0 评论