How make Dictionary with lambda functions, with different numbers of parameters [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . How make Dictionary with lambda functions, that Func<> contains different numbers of parameters? Dictionary<string, Func<T, double>> operationsList = new Dictionary<string, Func<T, double>>(); It mast be so? 回答1: You can make your dictionary type Delegate , but I'm pretty sure that calling Func<>