摘要: 单件模式是一种用于确保整个应用程序中只有一个类实例且这个实例所占资源在整个应用程序中是共享时的程序设计方法c# 实现: -------------------------------------------------------------------------- using System;using System.Collections.Generic;using System.Linq;using System.Text;//单件模式基础模型//来源:Gmap.net源代码中namespace Design.Singleton{ /// <summary> /// ge.. 阅读全文
posted @ 2012-01-19 15:52 宁#宁 阅读(358) 评论(0) 推荐(0) 编辑