Hello world!!
Saturday, May 15, 2010
Difference between singleton and static classes
Singleton can be used with parameters to methods, but you cannot use static class as parameters.
Singleton can be used with interfaces
static class mainly use to hold gloabl data of application
Reference:
http://dotnetperls.com/singleton-static
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment