is it possible to inherit a class but methods declared in
the class should not be inheritable i possible how?

Answer Posted / arunkumar

s it is possible by doing Sealed keyword to the method in
first class

Is This Answer Correct ?    21 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are destructors in C#?

989


What is use of FormBoarderStyle Propertie

598


Why do we use yield in c#?

584


Explain when should you call the garbage collector in .net?

584


What are escape sequences explain with example?

580






What is data type c#?

584


Can I fly with a loop recorder?

554


Explain Direct CAST vs CType ?

628


Define Abstract Class in C#

620


What is the benefit of interface in c#?

567


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

601


What is the difference between final finally and finalize in c#?

547


what is an event? Define delegate?

608


What are the advantages of interface in c#?

585


Is c# substring zero based?

583