How to solve the Error: Inconsistent accessibility: parameter type for generic c# interface?

后端 未结 5 861
不知归路
不知归路 2021-01-04 06:25

On writting this code into my project i am getting the error that

Error 1 Inconsistent accessibility: field type \'System.Collections.Gene

5条回答
  •  情深已故
    2021-01-04 07:02

    just make the method addChilde(List childeren) or only object not list then do this

    var Listchild = childeren as List;
    

    提交回复
    热议问题