Quote:
Originally Posted by Alaskaryan The sealed modifier is used to preventderivation from a class. An error occurs if a sealed class is specifiedas the base class of another class. A sealed class cannot also be anabstract class. Using sealed classes is a new concept added in C#. It is difficult to say when we should use an abstract class and when we should use an interface. |
Thank you for sharing this Information,I just started to learn.