1 // (note, this is taken from `13.2.5 Interface member access')
10 interface INumber
: IInteger
, IDouble
{}
12 class Number
: INumber
{
13 void IDouble
.Add (double d
)
15 System
.Console
.WriteLine ("IDouble.Add (double d)");
17 void IInteger
.Add (int d
)
19 System
.Console
.WriteLine ("IInteger.Add (int d)");
22 public static int Main ()
24 INumber n
= new Number ();