Singleton Class

Give an example of inbuilt Singleton Class in .NET.

Questions by contactckszee

Showing Answers 1 - 9 of 9 Answers

The Singleton is class which only allows a single instance of itself to be created and usually gives access to the instace.

Benifits:
Instance Control
Singleton class prevents other object from instantiating their own copies of singleton object, ensuring that all object access the single object.

Singleton process achived in C# by creating Private Constructor.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions