0
我有这个接口成员有不同的类型
public interface TestInterface
{
[returntype] MethodHere();
}
public class test1 : TestInterface
{
string MethodHere(){
return "Bla";
}
}
public class test2 : TestInterface
{
int MethodHere(){
return 2;
}
}
有没有什么办法让[返回类型]活力呢?
感谢这正是我一直在寻找! – 2010-01-16 22:17:34