Can you override private virtual methods?

Answer Posted / payal mehta

WE can not use private access modifier for VIRTUAL,INTERFACE
and also we can not inherit private methods or properties
in inherited classes.

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

657


How do you comment out code in c#?

645


Explain about Threading Types.

807


What is anonymous types in c#?

670


What is thread and explain states of a thread in c#?

641


How to generate strong name key file or which command is used to generated strong name key file?

712


What is a helper method in c#?

660


What is the difference between ref and out in c#?

623


What is connection pooling in ado.net?

706


Difference between value and reference type.

689


What is use of hashtable in c#?

644


Can you specify nested classes as partial classes?

704


What is regex c#?

665


What is the difference between == and object.equals?

664


What are the Configuration files in .net?

702