Lazy 是线程安全的,可以利用Lazy很简单的实现单例模式 ```C# public class Singleton { private static readonly Lazy<Singleton> singletonLazy = new Lazy<Singleton>(() => new Singleton()); public static Singleton Instance => singletonLazy.Value; } ```