Answers for "c# new thread"

C#
2

c# create new thread

using System.Threading;

Thread thread = new Thread(new ThreadStart(WorkThreadFunction));
thread.Start();
Posted by: Guest on April-01-2020
1

c# new thread

using System.Threading;
new Thread(() => 
{
    Thread.CurrentThread.IsBackground = true; 
    /* run your code here */ 
    Console.WriteLine("Hello, world"); 
}).Start();
Posted by: Guest on June-24-2020

C# Answers by Framework

Browse Popular Code Answers by Language