Possible Duplicate:What is the difference between all-static-methods and applying a singleton pattern? I need to make a decision for a project I'm working of whether to use static or singleton.After reading an article like this I am inclined to use singleton.What is better to use static class or singleton? Edit 1 : Client Server Desktop Application.Please provide code oriented solutions. 
Static class vs Singleton class in C#
c#;singleton;static methods;static access
Your code will be more flexible if you use a singleton.The advantage is that the code that uses the singleton doesn't need to know if it is a singleton or a transient object. Using a static class means you have to call static methods explicitly. Think about dependency injection, for example.Moreover, singleton, as a non-static class, can still implement an interface, supports inheritance, etc. For example, you can't inherit a static class and override a virtual method in it.