Can we inherit private class in c#?



Can we inherit private class in c#?..

Answer / Namit

No, it is not possible to inherit a private class in C#. A private class can only be accessed within its own assembly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the difference between private and protected in c#?

1 Answers  


What are the steps for creating clr trigger

1 Answers  


What is a derived class in c#?

1 Answers  


What is the use of console application in c#?

1 Answers  


What are the uses of namespaces?

1 Answers  


Can non-default constructors be used with single call sao?

1 Answers  


What is c# and why it is used for?

1 Answers  


What is the difference between Decorator and Adapter pattern?

1 Answers   QuestPond,


Are value types sealed?

1 Answers  


Is string null or empty?

1 Answers  


How can you overload a method?

3 Answers  


How does the clr work?

1 Answers  


Categories