I\'m trying to serialize a dummy collection of orders, where each order contains a product. The collection is serializing fine, but the example product properties inside the
You have to change ICollection to List. An interface isn't serializeable.
[XmlArray("Products")] public List Products { get { return this._products; } }
And ProductTest doesn't work because of the missing setter