Microsoft.CodeAnalysis.CSharp Microsoft.Extensions.DependencyInjection Microsoft.Extensions.Logging Newtonsoft.Json xunit System.Threading.Tasks true true void Main() { } // You can define other methods, fields, classes and namespaces here private void PrintThreadInfo() { Console.WriteLine($"当前线程ID:{Thread.CurrentThread.ManagedThreadId}"); }