use of Threadstart delegate

Posted by krrishbiju-15589 under C# on 1/26/2015 | Points: 10 | Views : 487 | Status : [Member] | Replies : 0
Please resolve this,

For thread initialization what is the difference of using "Threadstart" and without using "Threadstart".

1. Thread worker = new Thread(new ThreadStart(DoTimeConsumingWork));
worker.Start();

2. Thread worker = new Thread(DoTimeConsumingWork);
worker.Start();

Both are working.
What is the difference between two.

Regards
krrish




Responses

(No response found.)

Login to post response