Can someone please help me with this problem.
I have a web application and need to do the following:
How can I get the age of all the persons with gender 'male' and date STARTS WITH 2013

Thank you so much for your help

I have this XML:

```
<company>
  <department>
    <departmentname>Dep 1</departmentname>
    <people>
      <person>
        <name>Sean</name>
        <date>2011-10-10</date>
        <gender>male</gender>
        <age>40</age>
      </person>
      <person>
        <name>John</name>
        <date>2013-10-18</date>
        <gender>male</gender>
        <age>45</age>
      </person>
      <person>
        <name>Linda</name>
        <date>2012-09-10</date>
        <gender>female</gender>
        <age>42</age>
      </person>
      <person>
        <name>Bob</name>
        <date>2013-10-01</date>
        <gender>male</gender>
        <age>35</age>
      </person>
    </people>
  </department>
  <department>
    <departmentname>Dep 2</departmentname>
    <people>
      <person>
        <name>Art</name>
        <date>2012-09-10</date>
        <gender>male</gender>
        <age>38</age>
      </person>
      <person>
        <name>Christina</name>
        <date>2013-10-20</date>
        <gender>female</gender>
        <age>45</age>
      </person>
      <person>
        <name>Marie</name>
        <date>2011-09-10</date>
        <gender>female</gender>
        <age>49</age>
      </person>
    </people>
  </department>
</company>

```

Here is my c# code: 

```
string year = "2013";

protected List<string> GetPersons(string year)
{
    XElement company= XElement.Load(Server.MapPath(XMLfil));

    var persons= (from a in company.Elements("department").Elements("people").Elements("person")
                  where (string)a.Element("gender").Value == 'male' && (string)a.Element("date").Value == STARTS WITH 2013
                  select (string)(a.Element("age"))).ToList<string>();
    return persons; 
}

```