How to make a class non-inheritable other than sealed?

Answer Posted / divya

if we use private constructor we cant make an instance of the class, but still we can inherit it

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are jagged arrays used for?

561


What is an interface class in c#?

619


Is a games console a computer?

560


Show us in simple steps to create setup & deployment project for windows application?

579


C# called c sharp why?

647






What is orm in c#?

561


Difference between call by value and call by reference in C#?

599


What is final keyword in c#?

615


Why is xml called extensible?

581


What are namespaces, and how they are used?

649


What is pure abstract class in c#?

553


What is uint16?

586


Why c# is type safe?

615


Explain About namespaces

648


What I can do with c#?

607