action,func简洁用法时间:2023-03-09 21:18:47 new Action(() => { }).Invoke();new Action(() => { })(); new Func<int, int>(s => { return s; }).Invoke(1); new Func<int, List<int>>(s => { return new List<int>{1,2,3,4,5}; }).Invoke(1);