public static LazyInitialization GetInstance() { if (_instance == null) { _instance = new LazyInitialization(); } return(_instance); }
private static void Write2() { LazyInitialization lazy1 = LazyInitialization.getInstance(); lazy1.WriteMessage("ben ikinci threadim"); }