Oddbean new post about | logout
 When working with class inheritance in C#, understanding the virtual, override, and new keywords is crucial for effective code design. The virtual keyword allows a method to be overridden in derived classes, while override implements the method defined as virtual in the base class. The new keyword hides the base class member without overriding its implementation. By leveraging these keywords, developers can achieve polymorphism and control method behavior.

Source: https://dev.to/dotnetfullstackdev/c-tip-understanding-override-new-and-virtual-keywords-4ee0