title: C# Linq merge two dictionaries
body: <p>How to make the following method more functional-linq-style?</p>
  
  <pre><code>    public static Dictionary&lt;T, T&gt; MergeDict&lt;T, T&gt;(Dictionary&lt;T, T&gt; a, Dictionary&lt;T, T&gt; b)
      {
          var e = new Dictionary&lt;T, T&gt;();
  
          a.Concat(b).ToList().ForEach(pair =&gt;
          {
              e[pair.Key] = pair.Value;
          });
  
          return e;
      }
  </code></pre>