区别:
显式实现后,该接口的成员只能通过接口的定义访问;
隐式实现后,既可以通过接口访问,又可以通过类访问
接口:
interface ITest
{
void Say();
}
显式
void ITest.Say()
{
Console.WriteLine("xxxx");
}
隐式
public void Say()
{
Console.WriteLine("xx");
}

被折叠的 条评论
为什么被折叠?



