title: How to divide a dictionary into two
body: <p>How can i divide one dictionary items into two separate dictionary. For example..</p>
  
  <pre><code>Dictionary&lt;string, int&gt; dict = new Dictionary&lt;string, int&gt;();
  
  dictionary.Add("cat1", 1);
  dictionary.Add("dog2", 2);
  dictionary.Add("cat3", 3);
  dictionary.Add("dog4", 4);
  dictionary.Add("cat5", 5);
  dictionary.Add("dog6", 6);
  dictionary.Add("cat7", 7);
  dictionary.Add("dog8", 8);
  dictionary.Add("cat9", 9);
  dictionary.Add("dog10", 10);
  ...
  dictionary.Add("dog100", 100);
  </code></pre>
  
  <p>this "dict" contains 100 items. But i need to separate first fifty and last fifty items in two different dictionary, Like..</p>
  
  <pre><code>Dictionary&lt;string, int&gt; dict1 = new Dictionary&lt;string, int&gt;();
  Dictionary&lt;string, int&gt; dict2 = new Dictionary&lt;string, int&gt;();
  </code></pre>
  
  <p>Please guide me..</p>
  
  <p>Thanks</p>