I’m writing a class for managing my threading. How do I pass my method that needs threading into my helper class?
All that I’ll be doing is creating a new thread and passing the method I’ve passed through into a new ThreadStart().
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Rather than write your own class to manage threading I suggest you check out the BackgroundWorker class in .NET 2.0 onwards.