title: Alter/modify data from an existing keyValuePair
body: <p>I have this</p>
  
  <pre><code>foreach (KeyValuePair&lt;string, Object&gt; tempData in tempList.ToDictionary(x =&gt; x.Key, y =&gt; y.Value))
  {        
      tempData["fahrzeugA"] = "s";
  }
  </code></pre>
  
  <p>But using <code>tempData["fahrzeugA"] = "s";</code> will not work.</p>
  
  <p>I get:</p>
  
  <blockquote>
    <p>Cannot apply indexing with [] to an expression of type
    'System.Collections.Generic.KeyValuePair'</p>
  </blockquote>
  
  <p>What is the correct syntax if I have an existing key <code>fahrzeugA</code>, which I want to alter ?</p>