An easy way to serialize objects in Silverlight is to use DataContract and DataMember attributes to decorate the objects/properties you want to serialize. One little gotcha is that by default you can add the System.Runtime.Serializable namespace fine but DataContract doesn’t show as useable. You have to add a reference to the System.Runtime.Serializable library to get those features.
Thanks!
I was struggling with this problem!
Thanks
Thansks man
Obrigado amigo