Can you override private virtual methods?

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


Please Help Members By Posting Answers For Below Questions

Describe the parts of assembly.

529


What are the two kinds of properties in c#.

534


Why does my windows application pop up a console window every time I run it?

530


What do you mean by abstract class in c#?

507


Are attributes inherited c#?

471






How many keyword present in C# language ?

550


Does c# support try-catch-finally blocks?

482


Does the variables of a private class-level inherited?

562


What are the uses of namespaces?

608


What is object type in c#?

553


Why do we use 0?

508


What are the steps to make an assembly to public?

502


i want the csharp questions&answeres

1495


What is strongly typed in c#?

500


What is console writeline in c#?

475