Can we extend sealed class in c#?



Can we extend sealed class in c#?..

Answer / Sandeep Kumar Tiwari

No, a sealed class in C# cannot be extended or inherited from. It is marked as sealed to prevent other classes from inheriting from it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Why can't we use a static class instead of singleton?

0 Answers  


What is the difference between list and arraylist in c#?

1 Answers  


What is an extension method in c#?

1 Answers  


Can you have parameters for static constructors?

1 Answers  


What is hashtable c#?

1 Answers  


What problem does Delegate Solve?

1 Answers   MindCracker,


What benefit do you get from using a primary interop assembly (pia)?

1 Answers  


What is garbage collector and where should you use in .NET?

1 Answers   Siebel,


What are desktop applications examples?

1 Answers  


How do you implement thread synchronization (object.wait, notify,and criticalsection) in c#?

1 Answers  


What is the difference between ref and out parameters in c#?

1 Answers  


Give some examples for built in datatypes in c#?

1 Answers  


Categories