I am trying to create new thread and pass a method with parameter,but errors out.
Thread t = new Thread(myMethod);
t.Start(myGrid);
public void myMethod(UltraGrid myGrid)
{
}
---------errors------------
Error: CS1502 - line 92 (164) - The best overloaded method match for '
System.Threading.Thread.Thread(System.Threading.ThreadStart)
' has some invalid argumentsError: CS1503 - line 92 (164) - Argument '1': cannot convert from 'method group' to '
System.Threading.ThreadStart
'