+1 vote
in Dot Net by

 How to implement singleton design pattern in C#?

1 Answer

0 votes
by

In singleton pattern, a class can only have one instance and provides access point to it globally.

for example 

Public sealed class Singleton
{
Private static readonly Singleton _instance = new Singleton();
}
...