Saturday, December 25, 2010

Start New Thread

From http://www.csharp-examples.net/create-new-thread/


Thread thread = new Thread(new ThreadStart(WorkThreadFunction));
thread.Start();

public void WorkThreadFunction()
{
// do stuff
}

No comments: