c#: ThreadStart method parameters
Posted on 2006-06-20
Here is the code I am working with:
public void myMethod(Thread aThread, ??)
aThread = new Thread(new ThreadStart(??));
public void PrintStuff()
// do stuff
I would like to specifiy PrintStuff(...) as the target method, (substituted above by ??), when I call ThreadStart(...) but I do not know what type to use when passing it in as ?? in public myMethod(...).