static void Main(string[] args) { //启动持久化线程 UpProcesser upProcess = new UpProcesser(); Thread m_thread = new Thread(new ThreadStart(upProcess.Processing)); m_thread.Start(); }