I have a list of thread I want to ensure the execution order between them this is the code
for (int k = 0; k < RadioList.Count; k++) { for (int i = 0; i < filePaths.Count(); i++) { Thread t = new Thread(delegate() { Thread_Encde_function(TempRadio.PublishPoint, filePaths[i], encodingtype); }); t.Start(); Thread.Sleep(1000); } } I want to know if thread.join() can do the job.
Thread.Join()won't do the job. Take a look at MSDN: Thread Synchronization.