title: Get Running Threads
body: <p>if i run various threads by code </p>
  
  <pre><code>        var t = new Thread(() =&gt;
          {
              try
              {
              }
              }
              catch (Exception ca)
              {
                  MessageBox.Show(ca.Message);
              }
          });
          t.SetApartmentState(ApartmentState.STA);
          t.Name = "Thread1";
          t.Start()
  </code></pre>
  
  <p>can we have something that we can later on terminate the thread by knowing its name lets say we intend to stop thread1 or thread4 we should be able to stop it:)</p>