理解C#中的Lambda表达式
先来看两段代码:
Thread t = new Thread(() =>
{
AddIt AddDelegate = new AddIt(AddItem);
this.Invoke(AddDelegate);
});
Thread t3 = new Thread(new ThreadStart(() =>
{
AddIt AddDelegate = new AddIt(AddItem);
this.Invoke(AddDelegate);
}));
以上是 理解C#中的Lambda表达式 的全部内容, 来源链接: utcz.com/z/343022.html