public static List <Station> ProcessManualCity(String path) { XDocument xDoc = XDocument.Load(path); var stations = (from station in xDoc.Descendants("station") select new Station { Address = station.Attribute("name").Value, Lat = WebUtils.ToDoubleTolerate(station.Attribute("lat").Value), Lng = WebUtils.ToDoubleTolerate(station.Attribute("lng").Value), Free = -1 }).ToList(); return(stations); }