I have this procedure that looks like this:
This code does not compile. How do I do this correctly?Code:private void proc1(int x, int y) { //code } //i'm trying to create thread here Thread t; t = new Thread(new ThreadStart(proc1)) //also tried ThreadStart(proc1(x,y)) t.Start();




Reply With Quote