no arguments that correspond to the mandatory formal parameter item1 have been specified

后端 未结 2 778
眼角桃花
眼角桃花 2021-01-28 15:08

I\'ve this object:

public class RankingAll
{
   public Tuple, List> Ranking { get; set; } 
}

I\'

2条回答
  •  时光取名叫无心
    2021-01-28 15:49

    Your tuple requires two items (A List and a List) to be passed into the constructor. You can't construct a tuple without the members of the tuple being provided.

提交回复
热议问题