Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am writing a GroupSMS app on Windows Phone, and I want to create a group and add some contacts into it, then serialize the group to isolatedstorage file, so that I can get the group information next time when app restart. My question is how can I Serialize and Deserialize List<contact> or ObservableCollection<contact>?

And one more question, how can I get the contact update event, I mean if user update the contact information, especially the phone number, how I update the serialized data in my app's storage as well?

Thanks.
Posted
Updated 10-Jun-12 16:10pm
v3
Comments
Sergey Alexandrovich Kryukov 10-Jun-12 22:14pm    
What is "list of ObservableCollection"? It is ObservableCollection itself, as it implements IList and IList<T> or a list of objects each of those is of the type ObservableCollection? Or what?
What is the problem?

How your question about contact information is related to Collections? The answer to this question really depends on what you want to do. How anyone can answer is you should update serialized data or not? It depends on the purpose of that serialization.

--SA
Sandeep Mewara 11-Jun-12 2:37am    
OP posted update as a comment that you might want to look.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900