Tuesday, July 9, 2013

split inheritance in C#

One may make a class inheirt from both a base class and an interface in C#. This has the following example:

class USBDevice : GenericDevice, IOurDevice

 
 

What is more, the write up suggests that a method on the parent class may satisfy the need of a signature within the interface!

No comments:

Post a Comment