title: How to convert a 2-d array into a dictionary object
body: <p>I have an array of type string that looks like this:
  <code>"test1|True,test2|False,test3|False,test4|True"</code>.
  This is essentially a 2d array like so
  [test1][True]
  [test2][False]
  [test3][False]
  [test4][True].</p>
  
  <p>I want to convert this into a <code>dictionary&lt;string,bool&gt;</code> using linq, something like:</p>
  
  <pre><code>Dictionary&lt;string, bool&gt; myResults = results.Split(",".ToCharArray).ToDictionary()
  </code></pre>
  
  <p>any ideas?</p>