Geeks With Blogs
Eugene's Think Tank November 2008 Entries
Singleton Design Pattern in C#
/* The Singleton pattern assures that there is one and only one instance of a class, and provides a global point of access to it. There are any number of cases in programming where you need to make sure that there can be one and only one instance of a class. For example, your system can have only one web service manager, or a single point of access to a database. The easiest way to make a class that can have only one instance is to embed a static variable inside the class that A static variable is ......

Posted On Wednesday, November 12, 2008 1:22 PM

Copyright © EKosnyrev | Powered by: