c#建立帶參數的線程

一、無參數線程的建立 Thread thread = new Thread(new ThreadStart(showmessage)); thread.Start();  private void showmessage() {      Console.WriteLine("hello world"); } 二、帶一個參數的線程 使用ParameterizedThreadStart,調用 Sys
相關文章
相關標籤/搜索