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 method overloading in c#?
What is c# most used for?
When should we use sealed class in c#?
What are extender provider components? Explain how to use an extender provider in the project.
Where’s global assembly cache located on the system?
Explain about finalize method?
What is a datacontract?
What is the difference between static and private constructor in c#?
What is the difference between abstract and virtual?
While debugging a C# application can you change the value of a variable?
What is method and function in c#?
List some of the basic string operation?
What is assembly and dll in c#?
Explain the difference between “as” and “is” operators used in c#?
How does a while loop work?