Hi I want to create a new thread for each item in a numericupdown. I want each thread to perform an object. I have this code, but Im not sure if its correct. Please check:
for (int i = 0; i < numericUpDown1.Value; i++)
{
Thread t = new Thread(new ParameterizedThreadStart(myParamObject));
t.Start();
}
Also, another question I have is Im calling a listBox created in another thread so how can I incorporate it so I wont get a cross thread error?