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 Delegate and what is it used for ?
What is difference between a function and a method?
What is data binding c#?
Can we extend static class in c#?
What is the .NET collection class that allows an element to be accessed using a unique key?
What is a struct in C#?
3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close
What are All kind of access specifiers for a class and for methods
what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?
Explain the working of serialization?
What are the fundamental principles of oo programming?
What is the default value of datetime in c#?
What is the data type for bit in c#?
What is dll file in c#?
What is type cast in C#?