Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
3.67/5 (2 votes)
Can any one give me the best example of when to use singleton pattern.Don't discuss how to use , only discuss when and why to use??
Posted

1 solution

Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A very quick search using part of your question as the search term gave : 1.6 million hits.

when to use singleton pattern[^]


In future, please try to do at least basic research yourself, and not waste your time or ours.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900