摘要:public sealed class Singleton { private static Singleton instance = null; static readonly object padlock = new object(); Singleton() { } public static Sing...
阅读全文
弹指一挥间好好做事,学习待人 (大数据分析/.NET/JAVA)技术交流QQ:860280456; .NET/JAVA技术交流群:192028174 |
随笔分类 - 【设计模式】
摘要:public sealed class Singleton { private static Singleton instance = null; static readonly object padlock = new object(); Singleton() { } public static Sing...
阅读全文
|