title: An alternative to Dictionary<T,T>
body: <p>My application requires I print N amount of times the Value X. </p>
  
  <p>So, I can do this:</p>
  
  <pre><code>Dictionary&lt;int, string&gt; toPrint = new Dictionary&lt;int, string&gt;();
  toPrint.Add(2, "Hello World");
  </code></pre>
  
  <p>...and later on I can use this information to print 2 pages, both with the text value "Hello World".</p>
  
  <p>The issue I have, is the Dictionary really wants the first value to be the Key: </p>
  
  <pre><code>Dictionary&lt;TKey, TValue&gt;
  </code></pre>
  
  <p>Therefore, if I want to add 2 pages with the text value "Hello World" and then another 2 with "Goodbye World" I have an issue - both of them have a TKey value of 2 and this causes a runtime error ("An item with the same key has already been added"). </p>
  
  <p>The logic which will causes an error:</p>
  
  <pre><code>Dictionary&lt;int, string&gt; toPrint = new Dictionary&lt;int, string&gt;();
  toPrint.Add(2, "Hello World");
  toPrint.Add(2, "Goodbye World");
  </code></pre>
  
  <p>I still need this concept/logic to work, but I obviously can't use the Dictionary type due to the Key. </p>
  
  <p>Does any one have any ideas of a work around?</p>