Abstract vs Sealed vs Static class
The main features of a static class are:
They only contain static members.
They cannot be instantiated.
They are sealed.
They cannot contain Instance Constructors.
Basically:
Static = Abstract + Sealed
They only contain static members.
They cannot be instantiated.
They are sealed.
They cannot contain Instance Constructors.
Basically:
Static = Abstract + Sealed
Comments
Post a Comment