在编程科学中这个操作的官方名称是什么? 拳击还是什么? 我标志着符合 “< ----”C#接口操作名称
Auto a = new Auto();
// What de name of this operation? boxing or... ?
INitro inintro = a; // <--- There
inintro.DoExecute();
class Auto:INitro,IChip
{
void INitro.DoExecute()
{
System.Console.WriteLine("INITRO");
}
void IChip.DoExecute()
{
System.Console.WriteLine("ICHIP");
}
}
interface INitro
{
void DoExecute();
}
你的意思是“任务”? –