title: c# how to make thread wait
body: <pre><code>Form form1 = new Form();
  Thread newThread = new Thread(() =&gt; 
          form = form1
  );
  newThread.Start();
  while(form == null)
  {
       WAIT? 
  }
  </code></pre>
  
  <p>Can anyone help me how to make thread wait befor going on with execution? And not to use thread.sleep?</p>