$ 0 0 XmlSerializer serializer = new XmlSerializer(typeof(**Item**)); is dealing specifically with the serialization of type Item.