title: Execute two separate methods simultaneously
body: <p>I'm trying two execute two separate methods at the same time using <code>Backgroundworker</code> (or if not possible using another method) to gain performance. The idea is to do heavy calculations in methods.</p>
  
  <p>Is it possible at all? </p>
  
  <pre><code>private readonly BackgroundWorker _worker = new BackgroundWorker();
  private readonly BackgroundWorker _worker2 = new BackgroundWorker();
  
  public MainWindow()
  {
      InitializeComponent();
  
      _worker.WorkerReportsProgress = true;
      _worker.WorkerSupportsCancellation = true;
      _worker.DoWork += worker_DoWork;
      _worker.RunWorkerAsync();
  
      _worker2.WorkerReportsProgress = true;
      _worker2.WorkerSupportsCancellation = true;
      _worker2.DoWork += worker_DoWork2;
      _worker2.RunWorkerAsync();
  }
  
  private void worker_DoWork(object sender, DoWorkEventArgs e)
  {
      // Do something
  }
  
  private void worker_DoWork2(object sender, DoWorkEventArgs e)
  {
      //  Do something simultaneously with worker_DorWork
  }
  </code></pre>