use ThreadPool.QueueUserWorkItem (WaitCallback, Object)
to start a thread with my target method and data. Can I pass more than one data into my method? the second parameter in QueueUserWorkItem (WaitCallback, Object)
can be an array?
The second parameter can be an array but you're better off creating a custom class for containing your data. That way the data you pass is fully typed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With