I\'ve this little method which is supposed to be thread safe. Everything works till i want it to have return value instead of void. How do i get the return value when BeginI
public static string readControlText(Control varControl) { if (varControl.InvokeRequired) { string res = ""; var action = new Action(c => res = c.Text); varControl.Invoke(action, varControl); return res; } string varText = varControl.Text; return varText; }