Since it Baris private, here is what you are looking for:
public partial class Foo : IFoo
{
string IFoo.Bar
{
get
{
return this.Bar;
}
set
{
this.Bar = value;
}
}
}
In any case, this is confusing and should be avoided if possible.
EDIT: Well, you changed your question, since it is Barnow publicly available, there is no longer a problem since Barit is always implemented in Foo.
ken2k source
share