Discussion on:

Message 12 of 43
0 Votes
+ -
This is an old debate...
Hi Slayer. The difference is that Singleton is a pattern while a static class is a class for which the runtime creates a single instance behind the scenes the first time you call it in code. This single instance is then used by any call to any static property or method of the class [type]. You could use a static class to implement the singleton pattern. There is an old debate about the implementation. Look it up on the Internet when you get a chance.
16th Aug