I am trying to use threading for the first time, and came up with this:
Thread myThread = new Thread(() =>
{
test = Class1.getNumbers(param1, param 2);
MessageBox.Show(test.toString());
});
This doesn’t do anything for me though. What did I do wrong?
Read this free chapter from a very good book (honest plug – no inscentive here):
It’s consice and gives you the know-how you want in an incremental way so you don’t go too high level too fast. The answer your question is in the first few paragraphs…