© { JSL }
58
E.I.I.
·
explicit interface implementation
w
cannot have access modifier (
private
-ish)
w
cannot be
virtual
interface
ITuneable
{
void
TuneUp();
}
interface
IPluckable
{
void
Pluck();
}
class
Violin : Instrument
, IPluckable, ITuneable
{
void
ITuneable.TuneUp() { ... }
void
IPluckable.Pluck() { ... }
...
}
consider
inheriting two
operations
with the same
signature
you can mix III and EII