B
bronco
Guest
Well, members (methods, variables, properties etc) are static, classes aren't. You can prevent instantiation by giving a class just a private constructor. This way it cannot be inherited either. If you make the class abstract as well, it cannot be instantiated by itself, leaving only static methods as an option to do something useful. So if your class is abstract and has only a private constructor (ie it's a "static class") and only static methods there's no point in having a destructor since the destructor is only called when an instance is deleted.
Continue reading...
Continue reading...