1
Reply

How do you create thread in.NET?

vinod 0

vinod 0

17y
4.7k
0
Reply

    using System.Thearding //add this namespace. .. .. //part atr which to create a thread . first find the function which to be executed in new thread. it should be of the form public void funname();.. now create delegate of type ThreadStart. ThreadStart startmethod= new ThreadStart(funname); and assign now create thread Thread mythread = new Thread(startmethod); now call the start method of thread.. mythread.start();