Override With Interface

no-email (Damien Seguy), Damien Seguy
Thu, 15 Aug 2024 00:00:00 +0000

The override attribute checks that a method is actually overriding a parent definition of the same method: this implides that a class must have a parent to use the Override attribute.
There is a special case, which is a class without a parent, though implementing an interface. The Override attribute may be used on any of the interface method, though the class has no parent.