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

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

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

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

Post Your Answer
Guest User

Not sure what course is right for you?

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


Let`s Connect