how do i do the "standard" vb.net multithreading
in C#?Code:dim mThread as new Thread(addressOf mFunction)
mThread.Start()
Printable View
how do i do the "standard" vb.net multithreading
in C#?Code:dim mThread as new Thread(addressOf mFunction)
mThread.Start()
You don't use the address of operator. Just a function that doesn't return a value, and takes no arguements.
Thread mThread = new Thread(mFunction);
mThread.Start()
Converting from VB.NET to C# is dead easy.
i did this lol:
Code:Thread ttThread = new Thread(new ThreadStart(startDownloadThread));
ttThread.Start();