Send data from class to the main thread?

save_proxy string = textBox.Text;
 Save Main = new Main();;

So data is transmitted to the class, but how back?

You can create a global variable in the class and then access it and recover data, but not correctly as far as I know.

Need the class to transfer data to the main thread.
July 9th 19 at 11:24

Find more questions by tags C#WPF