Wednesday, May 20, 2009

Static vs Singleton

Ever wonder the advantages of using static methods or static class or Singleton class ?

IMHO, each approach has some benefits and disadvantages, you may choose your own depending on the situation.


Benefits of static methods :



Benefits of Singleton :

No comments: