Why C# compiler cannot infer that derived type inherit from valid base type when using generics as a constraint

前端 未结 0 1019
梦如初夏
梦如初夏 2021-01-14 23:59

When I write this:

    public class DerivedConcreteClass : BaseAbstractClass
    where T_Step : IStep

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