c# - ()=>getItem("123") is Func(bool) or Func(string,bool) -


for lambda expresssion ()=>getitem("123"), func(bool) or func(string,bool), suppose getitem return bool.

it's func<bool>.

the clue in () => part: means function has no input parameters.


Comments