1
Reply

How you can prevent a class from being inherited by other class in C#?

Sahil Bansal

Sahil Bansal

Aug 21, 2012
2.3k
0

    Yes. The keyword “sealed” will prevent the class from being inherited

    neeru sharma
    September 17, 2012
    0