in C Sharp by (14.5k points)
Explain sealed class in C#?

1 Answer

0 votes
by (23.9k points)

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
asked Jan 20, 2020 in C Sharp by AdilsonLima (6.2k points)
+1 vote
asked Apr 9, 2020 in C Sharp by GeorgeBell (5.1k points)
0 votes
asked Oct 18, 2019 in C Sharp by Robin (14.5k points)
+1 vote
0 votes
...