Is it possible for a private virtual method to be overridden? | C# interview Questions 28

No, a private virtual method cannot be overridden. Only protected, internal, or public virtual methods can be overridden in derived classes because private methods are not accessible outside their own class.

Leave a Reply

Your email address will not be published. Required fields are marked *