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

Answer Posted / bikas pandey

Let The Class To Public And The Method To Be Sealed

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Uses of CLR

761


How do I join one form to another in c#?

466


How does substring work in c#?

481


What is the difference between a class and an object c#?

475


In a site to turn off cookies for one page which method is followed?

509






How do I declare a pure virtual function in c#?

591


What does immutable mean in c#?

507


What is difference between ienumerable and list?

516


How many kinds of elements an array can have?

474


is it possible to access a remote web service Without UDDI?

543


What is the use of xmlserializer?

477


what is a static constructor?

674


What are the types of inheritance in c#?

499


What is the use of generics in c#?

468


What is null in database?

466