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
Why do we need structs in c#?
Is string a class in c#?
What is regex c#?
How do I create a multilanguage, single-file assembly?
How we convert private assembly into public assembly?
What is delimiter in c#?
What happens if you add duplicate elements to a set?
What are the collection types can be used in c#?
How you will create satellite assemblies?
Explain the concepts of cts and cls(common language specification).
What is a hashset c#?
What is a collection in c#?
Can we instantiate abstract class in c#?
What is class in oops with example in c#?
Define encapsulation?