C# – Keyword usage virtual+override vs. new

What are differences between declaring a method in a base type “virtual” and then overriding it in a child type using the “override” keyword as opposed to simply using the “new” keyword when declaring the matching method in the child type?

11 Answers
11

Leave a Comment