Im trying to invoke a method on a new thread in a winforms c# app. But I need the method name to come from a string.
Is it possible to do something like:
public void newThread(string MethodName)
{
new Thread(new ThreadStart(MethodName)).Start();
}
I've tried but cant seem to get this to work?
Any advice would be much appreciated.