Hi!,
This email was created by [MemberName] <[MemberEmail]> who thought you would be interested in the following Article:
"Simple Singleton Pattern in C#"
Another alternative: class Singleton { public static Singleton m_Instance; //Prevent instance creation from other classes private Singleton() { } public static Singleton Instance { get { return m_Instance ?? (m_Instance = new Singleton()); } ...
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!