How to prevent your class from being inherited by another class?

Yes. The keyword "sealed" will prevent the class from being inherited.

No comments:

Post a Comment