Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's a Singleton?
Message
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01417218
Message ID:
01417219
Views:
106
>What's a Singleton? An example would be nice?

Quick answer - you can find plenty of samples in google.

The singleton is a class that can only have one instance. So, the Init of this class should return the reference of this class if it already exists and create a new instance if it doesn't.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform