If you want the app to exit when the main thread has finished, you can just make the new thread a background thread:
Thread t = new Thread(Main.MyThread);
t.IsBackground = true;
t.Start();
Basically the process will exit when all the foreground threads have exited.
Note that this could be bad news if the background thread is writing a file when the form is closed, or something similar...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…