📅  最后修改于: 2022-03-11 14:49:18.760000             🧑  作者: Mango
代码示例1
using System.Threading;
var curThread = Thread.CurrentThread.ManagedThreadId;
Console.WriteLine($"The current thread is: {curThread}");