[size=medium]ThreadStart中如何带参数(转载)[/size]
threadHand1 = new Thread(()=>
{
threadHand1_Run(timeStart,timeEnd);
});
threadHand1.Start();
or
threadHand1 = new Thread(delegate(){threadHand1_Run(timeStart,timeEnd);});
threadHand1.Start();
threadHand1 = new Thread(()=>
{
threadHand1_Run(timeStart,timeEnd);
});
threadHand1.Start();
or
threadHand1 = new Thread(delegate(){threadHand1_Run(timeStart,timeEnd);});
threadHand1.Start();