title: Dictionary<TKey, TValue>.ForEach method
body: <p>I wanna declare new extension method which similar to <a href="https://msdn.microsoft.com/en-us/library/bwabdf9z(v=vs.110).aspx" rel="nofollow">List.ForEach Method</a>.</p>
  
  <p>What I wanna archive:</p>
  
  <pre><code>var dict = new Dictionary&lt;string, string&gt;()
  {
     { "K1", "V1" },
     { "K2", "V2" },
     { "K3", "V3" },
  };
  
  
  dict.ForEach((x, y) =&gt; 
  {
     Console.WriteLine($"(Key: {x}, value: {y})");
  });
  </code></pre>
  
  <p>How can I do that?</p>