From what I\'ve found in C#, the Control.Invoke method requires that you use a delegate with no input parameters. Is there any way around this? I would like to invoke a me
Some more possibilities:
this.Invoke(new MethodInvoker(() => this.DoSomething(param1, param2)));
or
this.Invoke(new Action(() => this.DoSomething(param1, param2)));
or even
this.Invoke(new Func(() => this.DoSomething(param1, param2)));
where the first option is the best one, because MethodInvoker is concepted for that purposes and has a better performance.