📜  无法从组方法转换为线程启动 C# 代码示例

📅  最后修改于: 2022-03-11 14:49:19.429000             🧑  作者: Mango

代码示例2
//Pass Parameters to thread without using PARMETERIZED THREAD START 
public void myMethod(UltraGrid myGrid, string s)
{
}

Thread t = new Thread(()=>myMethod(myGrid, "abc"));
t.Start();