title: Get return value of method in parallel execution
body: <p>I am using <code>Parallel.Invoke</code> to execute single method with different input values, but I want to get return value of the method.
  How can I get it ?</p>
  <pre><code>public class Work
  {
      public static void Main()
      {
          Parallel.Invoke(() =&gt; DoWork(&quot;Raju&quot;),
                          () =&gt; DoWork(&quot;Ramu&quot;));
      }
  
      public static string DoWork(string data)
      {
          return &quot;testing&quot; + data;
      }
  }
  </code></pre>
  <p>In above method I want get <code>DoWork</code> return value.</p>