title: C# thread with multiple methods
body: <p>I'm making an app that manages a library. Currently I'm making the code for the research of the books and I've just come across an issue. I've created a Thread that handles this research, in addition to the one that handles the rest of the execution. I was asking to my self, is it possible that a Thread manages multiple methods? If so how can you do that, as you can only put one method in the declaration of the Thread. For example, when the user presses the search button (in a menubox) I only want the app (through my researchThread) to go to the url, running a goToUrl() method. Then, when the user presses the search button (after writing the keyWord of the book) I want the same thread to run another method (the search() method). As I don't want to create a thousand threads for every function (and as I think that this isn't the right solution), how can I manage this situation? Thanks in advance.</p>