Does anyone know how to pass multiple parameters into a Thread.Start routine?
I thought of extending the class, but the C# Thread class is sealed.
Here is wh
void RunFromHere() { string param1 = "hello"; int param2 = 42; Thread thread = new Thread(delegate() { MyParametrizedMethod(param1,param2); }); thread.Start(); } void MyParametrizedMethod(string p,int i) { // some code. }