I have written the following code:
var threaddatatable = new System.Threading.Thread(update); threaddatatable.Start(dt); update(datatable dt) { } But I am receiving these errors:
The best overloaded method match for System.Threading.Thread.Thread(System.Threading.ThreadStart)has some invalid arguments
And
Argument 1 cannot convert from 'method group' to System.Threading.ThreadStart
How can I assign my update method to my thread?