0 votes
in C Sharp by
Explain sealed class in C#?

1 Answer

0 votes
by

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
asked Oct 18, 2019 in C Sharp by Robin
+1 vote
asked May 6, 2020 in C Sharp by SakshiSharma
...