title: How can I convert this foreach code to Parallel.ForEach?
body: <p>I am a bit of confused about <code>Parallel.ForEach</code>.<br>
  What is <code>Parallel.ForEach</code> and what does it exactly do?<br>
  Please don't reference any MSDN link.  </p>
  
  <p>Here's a simple example : </p>
  
  <pre><code>string[] lines = File.ReadAllLines(txtProxyListPath.Text);
  List&lt;string&gt; list_lines = new List&lt;string&gt;(lines);
  
  foreach (string line in list_lines)
  {
      //My Stuff
  }
  </code></pre>
  
  <p>How can I rewrite this example with <code>Parallel.ForEach</code>?</p>