Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# current thread id

using System.Threading;
var curThread = Thread.CurrentThread.ManagedThreadId;
Console.WriteLine($"The current thread is: {curThread}");
 
PREVIOUS NEXT
Tagged: #current #thread #id
ADD COMMENT
Topic
Name
6+3 =