can any one help me to create multiple instance of a thread?
here what i'm doing is that , i want to upload a file from my c# windows application, once i put it for upload i want to continue uploading another, so and so
here what i did is on each button click i created a thread that handles the file uploading
Expand|Select|Wrap|Line Numbers
- public....Button_click()
- {
- Thread t2 = new Thread(new ThreadStart(DoStuff));
- t2.IsBackground = true;
- t2.Start();
- }
i kno this is not the way to do this stuff, please some one help.