I’m currently learning c# and would like to know where it ends, is it at the t.Start or does is continue from there or should I call a other method from the threadMethod? Thanks in advance.
private void startThread()
{
Thread t = new Thread(new ThreadStart(threadMethod));
t.Start();
}
private void threadMethod()
{
//do stuff
}
A thread stops when its method has finished or fails, in your case threadMethod().