Created
January 22, 2016 13:56
-
-
Save ideaflare/daf7bb099c3d7c45f966 to your computer and use it in GitHub Desktop.
Singleton pattern in C# 6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static SharedResource Instance { get; } = new SharedResource(); | |
| private SharedResource() {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment