2007年10月3日
摘要: 在CSDN上看到了C#中的Singleton的实现,实用性并不是太大,不过里边结合了泛型和多线程同步技术,觉得不错,记一下//C#代码//singleton.csusingSystem;usingSystem.Collections.Generic;usingSystem.Text;namespaceSingleton{publicclassSingleTon<T>{privatest... 阅读全文
posted @ 2007-10-03 17:48 老杨的地盘 阅读(399) 评论(1) 推荐(0) 编辑