public static Singleton3 GetInstance() { if (_instance == null) { lock (obj) { if (_instance == null) { _instance = new Singleton3(); } } } return _instance; }