(C#) 线程基础 获取当前线程ID Thread.CurrentThread.ManagedThreadId AppDomain.GetCurrentThreadId() // Low level. 参考:http://kb.cnblogs.com/page/42529/