Qus:    How will you prevent a class from being inherited in C#?
Dec 14, 2020 18:41 DotNet 2 Answers Views: 1272 DIVYA

  Use the sealed keyword in order to prevent a class from being inherited in C#.

Prev Next
Answers (2)
PARTH Dec 15, 2020 13:56
Answer:   Use the sealed keyword in order to prevent a class from being inherited in C#.

PADMAKEECHU Dec 15, 2020 14:11
Answer:   In C#, use the sealed keyword.

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect