How can I pass a parameter to a new thread?

  • Thread starter Thread starter rkbnair
  • Start date Start date
R

rkbnair

How can I pass a parameter to a new thread?

Thread t = new Thread(new ThreadStart(ThreadProc));
t.Start();
Thread.Sleep(0);
 
Back
Top