Monday, July 4, 2011

Static class VS Sealed class

1. Static and sealed classes cannot be inherited.
2. Static cannot be instantiated and but sealed class can be instantiated.
3. In Static class, only static members are allowed.
4. Sealed class will behave as a normal class, we can create instance, but we cannot inherit further.