Cannot create an instance of the variable type 'Item' because it does not have the new() constraint

后端 未结 3 1957
北恋
北恋 2020-12-24 05:08

I am trying to test a method - and getting an error:

Cannot create an instance of the variable type \'Item\' because it does not have the new() constr

3条回答
提交回复
热议问题