What is Singleton pattern?

 Posted by Raja on 4/20/2008 | Category: .NET Framework Interview questions | Views: 10480

Singleton pattern ensures a class has only one instance & provide a global point of access to it. It is achieved by declaring a static variable for the class & checking for null before actually instantiating it.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response