Action<bool> action2 = () => { endChecked = dtpEnd.Checked; return dtpEnd.Checked; }; Invoke(action2, 1);
action2();
action无返回值,func有返回值。