using System; interface IColor { void Foo(); } class Red : IColor { public int Foo(int x) { throw new NotImplementedException(); } void IColor.Foo() { throw new NotImplementedException(); } } class Wrapper { private Red _red = new Red(); }