Thread thread=new Thread(new ThreadStart(m_Thread)); thread.Start(); void m_Thread() { MessageBox.Show("Hello World!"); }