摘要: 1、从“最简单”的单例模式说起: public class Singleton { private static Singleton instance = null; private static readonly object syncRoot = new object(); private Singleton() { } ... 阅读全文
posted @ 2010-11-09 16:03 netcorner 阅读(248) 评论(0) 推荐(0) 编辑