How to make a class not inheritable other than sealed?

Answer Posted / rasik bihari

I don't agree with this (Answer # 1) as Making the class as
private will prevent it from even being initialized or
instantiated. I don't have the answer myself :-)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain the features of static/shared classes.

517


Is c# pass by reference?

527


what is the difference between a struct and a class in c#?

577


What is null character in string?

535


Enlist some of the properties of a thread class?

521






Differentiate between object pooling and connection pooling in c#?

567


What is activator c#?

490


What is an escape sequence in c#?

519


What does readonly mean in c#?

555


What is selector c#?

521


what is the meaning of Object lifetime in OOPS

551


Is lazy thread safe c#?

514


What is a deadlock lock?

504


What do you mean by the delegate in c#?

521


What is the difference between const and readonly in c#.net?

511