} // Something public static void NewInstance() // like a { if (Instance == null) { lock (mock) { if (Instance == null) { Instance = new SubjectsData(); } } } }
public static void DeleteInstance() // Singleton { Instance = null; }