Hi friends,
I want to know that can we override private virtual methods? If yes then how?
Override private virtual methods in C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jan 29, 2012, 3:14 AM EST
A derived class cannot access private members in its base class and cannot therefore override a private virtual method.
Vinitha TRank #8,005 · 230 reputationPosted Nov 13, 2021, 6:41 AM EST