how to pass two parameters in the address of thread , along with it's method name
-
i have a method that contains two parameters . Now my question is , how should i give the address of that method to thread , as the thrad don't allow two parameters ?
There are two different ways of doing that: 1. Create a class as a container for the two values, and send an instance of the class to the method. 2. Put the method in a class among with two member variables, and put the values in the member variables before starting the thread so that the method can access them.
Despite everything, the person most likely to be fooling you next is yourself.
-
There are two different ways of doing that: 1. Create a class as a container for the two values, and send an instance of the class to the method. 2. Put the method in a class among with two member variables, and put the values in the member variables before starting the thread so that the method can access them.
Despite everything, the person most likely to be fooling you next is yourself.
3 Pass an array of values into the delegate (I think)
Never underestimate the power of human stupidity RAH
-
3 Pass an array of values into the delegate (I think)
Never underestimate the power of human stupidity RAH