Why does a generic type constraint result in a no implicit reference conversion error?

前端 未结 5 1469
滥情空心
滥情空心 2020-12-04 10:58

I have created a couple of interfaces and generic classes for working with agenda appointments:

interface IAppointment where T : IAppointmentPropert         


        
5条回答
  •  隐瞒了意图╮
    2020-12-04 11:35

    In case someone else also has this error message: I found the same interface defined twice in different namespaces and the classes that have been tryed to be linked together did not use the same interface.

提交回复
热议问题