Utility.lastDir = openFileDialog1.File.FullName;varlist =newList<Element>();varxElem = (XElement.Load(openFileDialog1.File.OpenRead())).Elements();varserializer =newXmlSerializer(typeof(Element));foreach(variteminxElem) {try{vartest = (Element)serializer.Deserialize(item.CreateReader()); lis...