Can you override private virtual methods?

Answer Posted / umesh

No, moreover, you cannot access private methods in
inherited classes, have to be protected in the base class to
allow any sort of access.

Is This Answer Correct ?    28 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between sqlclient oledb and providers?

494


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

499


Why do I get a security exception when I try to run my c# app?

538


Does c# support const methods, properties, or events?

542


What is the difference between console application and windows application?

472






Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?

534


What does || mean in programming?

494


Can an exception be thrown from a catch block?

568


What's the difference between class and object?

477


What is unsigned int?

521


What is a static field?

504


Can you inherit multiple classes in c#?

486


What are the classes contained in a single .NET DLL ?

506


What are the steps to create a webservice and consume it?

468


What is a multicast delegate in c#?

529