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
Do unused Namespaces in c# affect run-time performance?
Explain About Iunknown interface Queue
If you want to convert a base type to a derived type, what type of conversion do you use?
What is ienumerable t in c#?
What is Implementation inheritance
How do namespaces work?
Explain the three test cases in unit testing?
Explain circular reference in c#?
What is a dll in c#?
What is callback function in c#?
What does f mean in c#?
Can a dictionary have the same key?
Write a program in C# for checking a given number is PRIME or not.
Can you create an instance of a static class?
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?