Please tell me how to make it work.Also if u can please give a sample code.Help will be greatly appreciated.
WaitCallback callBack = new WaitCallback(UploadFileEx0);for(int i = 0; i < 70; i++){ if(true == isThreadAvailable(true)) { ThreadPool.QueueUserWorkItem(callBack,GetFileName(this.listView1.Items[i].ToString())); } else { MessageBox.Show("Worker thread not available "); }}