¡@

Home 

c# Programming Glossary: shoppingcart

How to serialize/deserialize simple classes to XML and back

http://stackoverflow.com/questions/3356976/how-to-serialize-deserialize-simple-classes-to-xml-and-back

let's say I have the following classes public class ShoppingCart public List CartItem Items get set public int UserID get set.. set public double ExtendedCost get set Let's say I build a ShoppingCart object in memory and want to save it as an XML document. Is.. in the other direction is there a built in way to create a ShoppingCart object from an XML document like new ShoppingCart xDoc c# .net..