Serialize Collections into XML

This application demonstrates how to serialize data contained within Arrays:

[XmlArray("carsArray")]
[XmlArrayItem("car")]
public Car[] _CarsList;  

It also shows how to serialize ArrayLists such as the following:

[XmlArray("carsArrayList")]
[XmlArrayItem("car",typeof(Car))]
public ArrayList _CarsList;