static void Main(string[] args) { RealDuck rd = new RealDuck(); IShoutable shou = rd; shou.Shut(); rd.Swim(); }
public Skeleton( int port, IShoutable target ) { this.target = target; this.port = port; }
static void Main(string[] args) { RealDuck rd = new RealDuck(); IShoutable shou = rd; shou.Shut(); rd.Swim(); }
public Skeleton( int port, IShoutable target ) { this.target = target; this.port = port; }