摘要: 假设有如下两个接口: public interface IA { string GetA(string a); } public interface IB { int GetA(string a); } 他们都要求实现方法GetA,而且传入的参数都是一样的String类型,只是返回值一个是String一个是Int,现在我们要声明一个类X,这个类要同时实现这两个接口: public ... 阅读全文
posted @ 2007-08-28 11:48 深蓝 阅读(3225) 评论(3) 推荐(0) 编辑

我要啦免费统计