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
What is data quality assurance?
What is the difference between namespace and class in c#?
What are the Types of compatabilities and explain them
Can you have more than one namespace in c#?
What is mean by c#?
What is difference between ienumerable and iqueryable in c#?
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
List some of the common data providers for ado.net framework?
How do I create a delegate/multicastdelegate?
What is an event in c#?
What are the properties of c#?
What are anonymous types in c#?
What is extended class in c#?
What is the difference between method and constructor in c#?
Why do we need constructor in c#?