//启动新线程public static void Start(){ThreadStart start = new ThreadStart(ThreadAction);Thread th = new Thread(start);th.IsBackground = true;th.Start();}public static void ThreadAction(){while (true){try{System.Threading.Thread.Sleep(3000);//每隔3秒执行的方法}catch { }}}