I got some problem with thread and I need get path from folder browser dialog
here is a code
Thread t = new Thread(() => myFolderBrowserDialog.ShowDialog());
t.IsBackground = true;
t.SetApartmentState(ApartmentState.STA);
t.Start();
You could do this:
But there is really zero point in the thread, it achives the same as this:
Personally, I would do this: