KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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 arguments Error: CS1503 - line 92 (164) - Argument '1': cannot convert from 'method group' to ' System.Threading.ThreadStart '
Tags (comma-separated)
Save Edits
Cancel