Hi Victor,
Did you consider using delegates for this purpose?
Anyway, you might read this fine article from Jon Skeet:
Starting threads with parameters in C#
http://www.yoda.arachsys.com/csharp/threadstart.html
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
"Victor Hadianto" <sy***@nospam.nospam> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
Hello,
Can someone explain to me why are we not allowed to have a parameter on
the ThreadStart delegate? Does anyone know the design decision behind this
feature? This, IMO, rather annoying when we want to create a quick thread
to execute a function.
Thanks,
Victor