Can you override private virtual methods?

Answer Posted / tsahi

You cannot write virtual private methods, let alone override
them. as noted above, a private virtual method will not compile.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy loading and eager loading in c#?

662


Can you explain template pattern?

750


What is the difference between hashtable and dictionary?

720


Differentiate between static class and singleton instance?

725


What is function and method in c#?

701


What are the types of comment in c# with examples?

666


What is throw in c#?

678


What do you mean by stack and heap in c#?

655


What do you mean by “finalize” and “finally” methods in c#?

685


What is the difference between proc. Sent by val and by sub?

666


What is a c sharp?

641


What is the implicit name of the parameter that gets passed into the set method/property of a class?

696


What are indexers in c# .net?

710


Why do we need collections in c#?

643


What is final keyword in c#?

695