Answers for "c# net core make new thread"

C#
3

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
0

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 March-08-2022

C# Answers by Framework

Browse Popular Code Answers by Language