The XmlSerializer class provides a great way to convert (serialize) objects to XML and back (deserialize). However, it can be difficult to serialize collections such as Arrays and ArrayLists properly ...
I am trying to call Serialize() on a class I wrote, and I'm getting an InvalidCastException as the base exception. My main problem is that I cannot trace to the actual location in the code that's ...