static void Main(string[] args) { var wiki = new Wiki(); var pageList = wiki.GetCategoryMembers("功法"); stack = new ConcurrentStack <Page>(); foreach (Page page in pageList) { stack.Push(page); } cnt = 0; for (int i = 0; i < 8; i++) { Thread thread = new Thread(ThreadMethod) { Name = $"线程{i + 1}" }; thread.Start(); } //ThreadMethod(); Console.ReadKey(); }