摘要: 今天看了一道.net的笔试题,其中就是要你实现这个连锁反应,当中可以看出观察者模式,这里使用c#语言的事件和代理机制实现起来是简单的,如果不用语言特性,是分别使用c#中event特性和不使用的demo 1using System; 2using System.Collections.Generic; 3using System.Text; 4using System.Runtime... 阅读全文
posted @ 2007-10-19 21:05 枫崖 阅读(716) 评论(0) 推荐(0) 编辑