#region 单件模式
private static readonly Lazy<Class1> Instance = new Lazy<Class1>(() => new Class1());
private Class1() { //TODO: 在这里填写需要初始化的代码 } public static Class1 Current => Instance.Value;
#endregion