本文介绍了声明相同的方法名称和相同的签名..是否可以在C#中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
声明相同的方法名称和相同的签名..是否可以在C#中使用?
赞
接口I1
{
int Add(int i1,int i2);
int Add(int i1,int i2);
}
class chileClass:I1
{
//如果可能,我如何实施?
}
Declare same method Name and same signature ..Is it possible in C# ?
Like
Interface I1
{
int Add(int i1, int i2);
int Add(int i1, int i2);
}
class chileClass : I1
{
//How can I implement here if that is possible?
}
推荐答案
这篇关于声明相同的方法名称和相同的签名..是否可以在C#中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!