無(wú)參數(shù)線程
Thread t = new Thread(new ThreadStart(function));
t.Start();
單參數(shù)線程(參數(shù)以object類型傳入)
Thread t = new Thread(new ParameterizedThreadStart(FunctionName));
t.Start(parameter);
private static void B(object obj) {
//......
}