关于C# 设计模式 Singleton 单例模式
using System;
using System.Collections.Generic;
using System.Text;
///Singleton(单件)模式用于保证一个类仅有一个实例,并提供一个访问该实例的全局访问点。
///add by jzh 2007-04-15
namespace DesignPattern
{
class Singleton
{
private static Singleton _instance;
publi