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

Is unboxing an implicit conversion?

623


Are multiple data types stored in System.Array?

754


Name which controls do not have events?

639


Define parsing? Explain how to parse a datetime string?

595


Explain 'structure padding'?

786






What do multicast delegates mean?

614


What is callback delegate in c#?

540


Which is the base class in c#?

584


What is a console application in c#?

522


Explain anonymous type in c#?

635


What is the use of private constructor in c#?

570


Are structs value types or reference types?

648


What is a interface in c#?

548


How Reflection is used and what it's significance ?

607


Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?

574