Thread[] array1 = new Thread[4]; for (int j = 0; j < 4; j++) { // Start the thread with a ParameterizedThreadStart. ParameterizedThreadStart start = new ParameterizedThreadStart(Start); array[j] = new Thread(start); array[j].Start(j); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)