Answer Posted / swapna
No, we cannot access private methods in inherited classes.
They have to be protected in the base class to allow any
sort of access.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How many static constructors are allowed in a class?
Can we inherit a private class in c#?
What is dll in vb.net?
What are the 3 types of comments in c#?
What is a partial class. Give an example?
What is lazy t?
What is desktop application testing?
What is console write in c#?
Distinguish between system.string and system.text.stringbuilder classes?
How do you declare an arraylist?
How to find methods of a assembly file (not using ILDASM)?
What is a console?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
What are cookies in c#?
What are the different approaches of passing parameters to a method?