Wondering what the difference is between the following:
Case 1: Base Class
public void DoIt();
Case 1: Inherited class
<
The article below is in vb.net but I think the explanation about new vs overrides is very easy to grasp.
https://www.codeproject.com/articles/17477/the-dark-shadow-of-overrides
At some point in the article, there is this sentence:
In general, Shadows assumes the function associated with the type is invoked, while Overrides assumes the object implementation is executed.
The accepted answer to this question is perfect but I think this article provide good examples to add better meaning about the differences between these two keywords.