Can we inherit a private class in chsarp? how? explain(with
code) ?
Answer Posted / hassan-ak
WHERE IS THE INHERITANCE IN THIS CODE, WE KNOW THAT INNER
CLASSES CAN BE DECLARED PRIVATE BUT THE QUESTION IS: CAN IT
BE INHERITED, SINCE A PRIVATE FEILD IS NOT ACCESSED BY SUB
CLASS SO HOW IF THE WHOLE CLASS IS PRIVATE?
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How Do You Convert A Value-type To A Reference-type?
What is garbage collection? How to force garbage collector to run?
Why is aws serverless?
How many parameters can a method have c#?
Are all methods virtual in c#?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
What does void mean unity?
How can you achieve run time polymorphism in C#?
Can private virtual methods be overridden in c#.net?
What is the purpose of a console table?
Can struct have constructor c#?
What is readline c#?
What is a view? What is the use of it?
What is class sortedlist underneath?
What is whitespace in c#?