title: C# Dictionary: losing data
body: <p>I'm using Dictionary for data storage in my c# project.</p>
  
  <p>The problem is that in a few hours my Dictionary loses some data. 
  Why?</p>
  
  <pre><code>public Dictionary&lt;string, AgentHistory&gt; ConnectRequestHistory = new Dictionary&lt;string, AgentHistory&gt;(); //IP - History
  
  public Dictionary&lt;AgentPlayerObject, AgentPlayerData&gt; PlayerDataList = new Dictionary&lt;AgentPlayerObject, AgentPlayerData&gt;(); // AgentPlayerObject - PlayerData
  </code></pre>
  
  <p>When I try getting <code>PlayerDataList[player].CharName;</code> after a while, the dictionary has lost it.</p>