I want to store custom objects in isolatedstoragesettings
of WP7.1 application. My program works well if I hard-code it. But without hard-coding it gives exception on Save() method of isolatedstoragesettings
class.
Exception is:
Type 'PhoneApp4.Classes.Objects.Person' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute.
Please Provide some sample code or suggestion to begin, because I am new to windows phone.