title: Serialization of generic tree with protobuf-net
body: <p>I try to build binary tree with various objects (int, bool, list, dictionary etc) and serialize/deserialzie it.</p>
  
  <p>With binary formmater serialization its goes good but with protobufnet I got errors.</p>
  
  <p>I dont know if the problem is with the implmenting of the tree or with the use of protobuf-net.</p>
  
  <p>Any answer will help me<br>
  Thanks</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I tried two version of tree code that I found in net</p>
  
  <p>First version
  <a href="https://stackoverflow.com/questions/66893/tree-data-structure-in-c">Tree data structure in C#</a></p>
  
  <p>Seconed version
  <a href="http://msdn.microsoft.com/en-us/library/ms379572.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ms379572.aspx</a></p>
  
  <p>The T in two versions is object.</p>
  
  <p>The error that i got:
  No suitable Default Object encoding found</p>