Home  |  Contact us    
Replacing a non-virtual inherited method


What keyword must a derived class use to replace a non-virtual inherited method?

new keyword is used to replace (not override) an inherited method with one of the same name.

To know the difference between new and override read:
new vs override in C#




Category: OOPS Faqs Concepts Faqs, Interview Questions & Answers in C#



Ask New Questions
Microsoft.Net Framework
.Net 2.0 Namespaces
.Net Assemblies
OOPS Faqs in C#
ASP.Net Faqs
ASP.Net 2.0 Faqs
Web Services Faqs
ADO.Net Faqs
Database Faqs
OOPS Faqs
IT Project Management