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
Is collection a data structure?
How do I port "synchronized" functions from visual j++ to c#?
What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?
What is a cshtml file?
Are value types sealed?
How do I type a whitespace character?
Give an example of a ctype.
How do I create a dbml file?
What is .edmx file?
When can a derived class override a base class member?
Distinguish between finally and finalize blocks?
What is mvc firstordefault?
What are the different states of a thread?
Write the difference between TypeOf and GetType?
What is the use of dll file in c#?