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

What is int32?

481


What is an icollection in c#?

487


Write a program in C# for checking a given number is PRIME or not.

625


What's the difference between class and object?

476


What is arraylist class in c#?

526






How to parse a date time string?

529


What is interface c#?

451


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1866


How do I register my code for use by classic com clients?

497


Can class be protected in c#?

515


Is array value type in c#?

578


What is regex c#?

481


When would you use generics in your code c#?

484


How to add a readonly property in c#.net

491


What is Inheritance in C#?

570