1、
Task task = new Task(() =>
{
MethodInvoker mi = new MethodInvoker(() =>
{
//console.writeline("Hello world");
});
this.BeginInvoke(mi);
});
task.Start();
2、
this.Invoke(new Action(() =>
{
//console.writeline("Hello world");
}));