Both of the following lines work same. but is there any hidden difference? and which one should be preferred?
Thread t1 = new Thread(aMethod);
Thread t2 = new Thread(new ThreadStart(aMethod));
Thanks.
There is no difference. Both lines are equal.
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