I am reading an XML file using XDocument and loading it into classes. Each "site" node should be a class with the "tags" node being a List within it. I am having trouble loading the "tags" elements into the class as a List.Here are the classes:\[code\]public class Site{ public string name; public string prefix; public List<Tag> tags;}public class Tag{ public string Name { get; set; } public string Column { get; set; }}\[/code\]This is the code that is loading XML data into the classes:\[code\]settings = XDocument.Load("settings.xml");IEnumerable<Site> sites = settings.Descendants("site").Select(x => new Site(){ name = x.Element("name").Value, prefix = x.Element("prefix").Value, // How to load the "tag" elements into a List<Class>?});\[/code\]Using the following XML example:\[code\]<settings> <site> <name>name1</name> <prefix>prefix1</prefix> <tags> <tag column="col1">tag1</tag> <tag column="col2">tag2</tag> <tag column="col3">tag3</tag> </tags> </site> <site> <name>name2</name> <prefix>prefix2</prefix> <tags> <tag column="col1">tag1</tag> <tag column="col2">tag2</tag> <tag column="col3">tag3</tag> </tags> </site></settings>\[/code\]Thanks.