How do I return a value from a thread?
I'm no kind of expert in threading, that's why I did it like this:
I created a Settings file and
Inside the new thread:
Setting.Default.ValueToBeSaved; Setting.Default.Save();
Then I pick up that value whenever I need it.