using System.Collections;
using System.Xml.Serialization;

public class OptionalConfigInfoList
{
	private ArrayList items;

	[XmlElement("InfoItem")]
	public OptionalConfigInfo[] Items
	{
		get
		{
			OptionalConfigInfo[] array = new OptionalConfigInfo[items.Count];
			items.CopyTo(array);
			return array;
		}
		set
		{
			items = null;
			if (value != null)
			{
				items = new ArrayList();
				foreach (OptionalConfigInfo value2 in value)
				{
					OptionalConfigInfo value3 = new OptionalConfigInfo(value2);
					items.Add(value3);
				}
			}
		}
	}

	public OptionalConfigInfoList()
	{
		items = null;
	}
}
