Generic class where T is base class: error passing variable of type T as reference

后端 未结 0 827
情深已故
情深已故 2020-12-05 22:51

I have a class A which has a few subclasses.


public class A
{
    public void FooA(ref A obj)
    {
        (...)
    }
}

I also have a gen

相关标签:
回答
  • 消灭零回复
提交回复
热议问题