Click here to Skip to main content
15,921,548 members
Articles / Programming Languages / C#

The Hunt for Singletons

Rate me:
Please Sign up or sign in to vote.
4.29/5 (7 votes)
29 Aug 2010CPOL4 min read 11.6K   10  
This article explains how Singletons can be replaced with dependency injection. It covers the advantages and how to refactor existing code.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Lithuania Lithuania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions