Oct 18, 2019 in C Sharp
Q: Explain sealed class in C#?

1 Answer

0 votes
Oct 18, 2019

Sealed class is used to prevent the class from being inherited from other classes. So “sealed” modifier also can be used with methods to avoid the methods to override in the child classes.

Related questions

+1 vote
0 votes
Oct 18, 2019 in C Sharp
0 votes
Feb 16, 2020 in C Sharp
...