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:
01417224
Views:
76
>>What's a Singleton? An example would be nice?
>
>Quick answer - you can find plenty of samples in google.
So why don't we just close down the UT and everyone can just Google what they need???



>
>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.

Ahh, I see. Thanks!
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform