3 ms·
You don't need to create an interface to inherit from a class and override its virtual methods..
by Khelavaster 4y ago
You don't need to create an interface to inherit from a class and override its virtual methods..
- bethz 4y agoMaking method virtual requires class to be unsealed. This is where we are losing control as pointed by OP. Either case, test code should not require this changes on production code.