c# - Problem Serializing a Class Containing a Collection using XML Serialization -
I have this XML snippet as part of an XML file that will be deserialized for the AC # object. > & lt; EmailConfiguration & gt; & Lt; SendTo & gt; & Lt; Address & gt; MyEmailAdress@bah.com< / Address & gt; & Lt; Address & gt; Too & lt; / Address & gt; & Lt; / SendTo & gt; & Lt; Cc & gt; & Lt; Address & gt; CC & lt; / Address & gt; & Lt; / Cc & gt; & Lt; BCC & gt; & Lt; Address & gt; BCC & lt; / Address & gt; & Lt; / BCC & gt; & Lt; / EmailConfiguration & gt; Note that SendToAddress is a collection of addresses & lt; Address & gt; MyEmailAddress@bah.com< / Address & gt; & Lt; Address & gt; Too & lt; / Address & gt; My class currently looks like this public class SendTo {public string address {get; Set; }} This is good for 1 address, how do I change the class, so that it can handle more than 1 address. I tr...