I have a .NET application which serializes an object in binary format. this object is a struct consisting of a few fields.
I must deserialize and use this object in a C+
Use XML Serialization its the best way to go, in fact is the cleanest way to go.
XmlSerializer s = new XmlSerializer( typeof( YourClassType ) ); TextWriter w = new StreamWriter( @"c:\list.xml" ); s.Serialize( w, yourClassListCollection ); w.Close();