I have an xml which is upto 20 mb:
<Neighborhood>
<Code LocationID='27767' NeighborhoodName='Broadway-Times Square' Latitude='40.7586' Longitude='-73.988152'/>
<Code LocationID='27767' NeighborhoodName='Midtown East' Latitude='40.755645' Longitude='-73.967428'/>
</Neighborhood>
I want to read the xml and create a list of class.
The class is as follows :
public class HotelNeighbourhood
{
public int LocationID { get; set; }
public string NeighborhoodName { get; set; }
public float Latitude { get; set; }
public float Longitude { get; set; }
}
I want create a list in a fastest possible manner. Thanks in advance.