public interface classA
{
string User
{
get;
set;
}
}
public interface classB
{
string User
{
get;
set;
}
}
public interface facs : classA, classB
{
}
public class classC
{
public facs dd;
}
classC c = new classC();
c.dd.User = "dd";
错误:Error 2 Ambiguity between 'classA.User' and 'classB.User'
这类问题如何解决?问题原型在一个系统dll中
月关宝盒