TechyMedia

A .NET Technology blog | .NET,C# Progamming,C# tutorials,WPF WCF|Software Engineer

NAVIGATION - SEARCH

Difference Between Static Class And Singleton Class

A static class is a class with static member variables and methods.A singleton is a design pattern which makes available only a single created instance of that class.Since it allows a single instance of the class,it is possible to pass this instance object as parameter to methods.
A static class is a class with static member variables and methods.A singleton is a design pattern which makes available only a single created instance of that class.Since it allows a single instance of the class,it is possible to pass this instance object as parameter to methods. [More]