Can you override private virtual methods?

Answer Posted / guest

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 ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have only “try” block without “catch” block in c#?

473


What is difference between write and writeline in c#?

480


What is different between Boxing and Unboxing?

583


Can we declare class as protected?

532


What is anonymous types in c#?

496






What is delegates in c# and uses of delegates?

470


What is binding in c#?

485


What are the types of access modifiers?

449


What is parameters in c#?

493


When a switch is said to be congested?

576


Is overriding of a function possible in the same class?

464


What are the differences between static, public and void in c#?

564


What is xamarin used for?

506


Where are value types stored in c#?

515


Define thread? Explain about multithreading?

564