摘要:
本文介绍了C#下关于单例的4种实现方法。using System;using System.Collections.Generic;using System.Text;namespace SingletonDemo{ /// <summary> /// 1、普通单例 /// </summary> public class SingletonA { private static SingletonA _instance = null; private SingletonA() { } public static Single... 阅读全文