title: How to go from string to ToDictionary
body: <p>I'm not completely clear on lambda expressions and I'm trying to use them to convert the following string into a dictionary where the item before the equals sign is the key, and the item after the equals sign is the value.</p>
  <pre class="lang-cs prettyprint-override"><code>Dictionary&lt;string, string&gt; dictionary = new Dictionary&lt;string, string&gt;();
  
  string stringOfKeyValuePairs = &quot;Item1=value1 Item2=value2 Item3=value3 Item4=value4&quot;
  </code></pre>
  <p>Is there a way to split the string and use the ToDictionary() method to get the results I want?</p>
  <p>Thank you</p>
  <p><strong>Edit:</strong> I made the string simpler as I can already parse the string down to what I want and the complex version adds no value to the information I am seeking.</p>