阅读背景:

是否有一种在非泛型上下文中引用泛型类的简洁方法?

来源:互联网 

Consider the following:

考虑以下:

public interface ICleanCoder
{
    void DoSomeCoding(object task);
}

public interface ICleanCoder<T>
{
    void DoSomeCoding(T task);
}

...

public class TestCleanCoding
{
    void RegisterCleanCoder(ICleanCoder coder);
}
public interf



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: