Lecture overview -- Keyboard shortcut: 'u'  Previous page: Practical use of virtual methods in C# -- Keyboard shortcut: 'p'  Next page: Upcasting and downcasting in C# -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Specialization, Extension, and Inheritance - slide 37 : 40

Overriding the Equals method in a class
It is tricky to do a correct overriding of the virtual Equals method in class Object
bank-account.cs
Equals and GetHashCode Methods in class BankAccount.