I have the following code:
ThreadStart starter;
Thread worker_thread = null;
starter = Work;
starter += () => { AnotherWork();};
worker_thread = new Thread(starter) { IsBackground = true };
worker_thread.Start();
I wanted to make sure that AnotherWork function is run only after Work function is done executing. But I am not sure if this code will do as intended.