【发布时间】:2011-06-19 03:47:24
【问题描述】:
我在 .NET 3.0 中使用此代码
Action xx = () => button1.Text = "hello world";
this.Invoke(xx);
但是当我在 .NET 2.0 中尝试它时,我认为 Action 具有这样的类型参数:
Action<T>
如何在.NET 2.0中实现第一个代码?
【问题讨论】:
标签: c# .net winforms multithreading parallel-processing