Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SomeSingleton
- {
- private static SomeSingleton instance;
- private SomeSingleton()
- {
- }
- public static SomeSingleton Instance
- {
- get
- {
- if (instance == null)
- {
- instance = new SomeSingleton();
- }
- return instance;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement