user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

Question 165. How To Prevent The Error While Updating Ui Control From Another Thread?

user image

Abhishek Mishra

2 years ago

For example, consider the accepted answer: string newText = "abc"; // running on worker thread this. Invoke((MethodInvoker)delegate { someLabel. Text = newText; // runs on UI thread });

Recent Doubts

Close [x]