()=> getItem("123")是Func(bool)或Func(string,bool)

use*_*949 0 .net c#

对于lambda expresssion ()=>getItem("123"),它是Func(bool)还是Func(string,bool),假设getItem返回bool.

Luk*_*keH 8

这是一个Func<bool>.

线索在() =>部分:这意味着该函数没有输入参数.