thread in c# example
Example: thread c#
using System.Threading;
//creating and running a void in a new thread
Thread t = new Thread(new ThreadStart(task)); //task is the void
t.Start(); //starting the thread
using System.Threading;
//creating and running a void in a new thread
Thread t = new Thread(new ThreadStart(task)); //task is the void
t.Start(); //starting the thread