Possible Duplicate:
C# keyword usage virtual+override vs. new
Difference between new and override?
So I've been working on a project and decided to do some reading about the difference between the new
and override
keywords in C#.
From what I saw, it seems that using the new
keyword functionality is a great way to create bugs in the code. Apart from that I don't really see when it would actually make sense to use it.
More out of curiosity than anything, is there any pattern where the new
keyword is the right way to go?