Static classes are sealed and therefore cannot be inherited . They cannot inherit from any class except Object. Static classes cannot contain an instance constructor. However, they can contain a static constructor.
What is an static class?
Static classes are sealed and therefore cannot be inherited . They cannot inherit from any class except Object. Static classes cannot contain an instance constructor. However, they can contain a static constructor.