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

How main method is called in c#?

512


What is ienumerator c#?

469


What is an inheritance in c#?

491


What is the use of command builder?

535


What is join in c#?

480






What is static and use of it?

467


Can interface inherit class in c#?

489


What is .edmx file?

526


Can we make a Static Constructor Parameterized? Give Reason with your answer

549


What is the differences between datagrid, datalist and repeater in .net?

475


What are Memory foot print of an exe?

502


Difference between value and reference type. What are value types and reference types?

505


What is data types in c#?

519


What is the difference between // comments, /* */ comments and /// comments?

495


Can properties be static in c#?

544