/// <summary>
/// 接口的定义
/// </summary>
public interface IA
{
void a();
}
/// <summary>
/// 显式的实现 //隐式的实现
/// </summary>
public class A : IA
{
public void a()
{
throw new Exception("The method or operation is not implemented.");
}
}
/// <summary>
/// 隐式的实现 //显示的实现
/// </summary>
public class B : IA
{
void IA.a()
{
throw new Exception("The method or operation is not implemented.");
}
}