|The Message text:
This email was created by [your name] who thought you would be interested in the following Article:
"Simple Singleton Pattern in C#"
The easiest singleton pattern is the one you used to the lock object itself.Creating any variable as static readonly and initializing it directly (or via a static constructor) will already make it singleton.Also, considering that "lock" clears all the caches, you don't need to declare the...
CodeProject also contains hundreds of articles, free source code samples and applications to help in your day to day programming. Why not give it a try!