csharp current thread id

Code Example - csharp current thread id

                
                        using System.Threading;
var curThread = Thread.CurrentThread.ManagedThreadId;
Console.WriteLine(%%%~COMPRESS~PRE~0~%%%quot;The current thread is: {curThread}");