Overriding fields or properties in subclasses
Of the three solutions only Option 1 is polymorphic. Fields by themselves cannot be overridden. Which is exactly why Option 2 returns the new keyword warning. The solution to the warning is not to append the “new” keyword, but to implement Option 1. If you need your field to be polymorphic you need to wrap … Read more