namespace RCInterface
{
public interface RCBLLInterface
{
int Getint();
}
}
如何在另一个命名空间下的类里调用这个接口?
我不是要实现接口,是调用接口 ,在页面后台调用接口
c#如何调用接口?
答案:2 悬赏:10
解决时间 2021-02-28 02:56
- 提问者网友:娇妻失忆
- 2021-02-27 18:16
最佳答案
- 二级知识专家网友:猖狂的痴情人
- 2021-02-27 18:46
RCBLLInterface rcbll = new 实现接口的类();
全部回答
- 1楼网友:滚出爷的世界
- 2021-02-27 19:33
namespace xxx
{
public class X : RClinterface.RCBLLinterface
{
}
}
就这样调用
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯