score:3

Accepted answer

"Name" should be "name" - likewise "Location" to "location".

return xmlDocumentFromAbove.Descendants("project").Select(p =>
    new  Project(p.Element("name").Value, p.Element("location").Value));

Related Articles