使用通用类型“ILookup<TKey, TElement>”需要 2 个类型参数

问题描述 投票:0回答:0

为什么在传递带有元组的 ILookup 时出现错误

Using the generic type 'ILookup<TKey, TElement>' requires 2 type arguments

public bool ValidMinimumDaysBetweenOpponent(ILookup<(int Team1, int Team2)> action)
c# .net tuples ilookup
© www.soinside.com 2019 - 2024. All rights reserved.