Skip to content

Instantly share code, notes, and snippets.

View msawangwan's full-sized avatar
😎

misha sawangwan msawangwan

😎
View GitHub Profile
@msawangwan
msawangwan / csharp-singletons.md
Last active October 3, 2016 18:14
[csharp][software design patterns] various implementations of the singleton pattern in csharp

#Implementations of the Singleton in C-Sharp

##As written by Jon Skeet

####Note:

Jon's personal preference is solution 4.

*Use solution 2 over solution 4 in cases where you need to be able to call other static methods without triggering initialization or you need to know