Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# new thread


using System.Threading;
new Thread(() => 
{
    Thread.CurrentThread.IsBackground = true; 
    /* run your code here */ 
    Console.WriteLine("Hello, world"); 
}).Start();

Source by codefantasy.org #
 
PREVIOUS NEXT
Tagged: #thread
ADD COMMENT
Topic
Name
8+7 =