Click here to Skip to main content
15,891,473 members
Articles / Programming Languages / C#

Generic Singleton Pattern using Reflection, in C#

Rate me:
Please Sign up or sign in to vote.
4.67/5 (46 votes)
9 Jun 2009Ms-PL3 min read 249.8K   1.6K   145  
Use a generic class to create all your Singletons.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Web Developer
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions