title: Add Class to dictionary
body: <p>ItemsByGuid definition:</p>
  
  <pre><code>private Dictionary&lt;string, Channel&gt; ItemsByGuid = new Dictionary&lt;string, Channel&gt;();
  </code></pre>
  
  <p>i have a class:</p>
  
  <pre><code>public class Channel
  {
      [XmlAttribute]
      [DataMember]
      public string Title { get; set; }
  }
  </code></pre>
  
  <p>and i try to add the class to a dictionary:</p>
  
  <pre><code>Channel _Channel = Utils.LoadXML&lt;Channel&gt;(file)
  ItemsByGuid.Add(_Channel.Guid, _Channel);
  </code></pre>
  
  <p>im getting the error "The best overloaded method match for 'System.Collections.Generic.Dictionary.Add(string, MyCMSDreams.Content.Channels.Channel)' has some invalid arguments
  "
  any idea why?</p>