Exemplo n.º 1
0
        public List <Person> GetOlderThan30(Family family)
        {
            List <Person> olderThan30 = family.People.Where(x => x.Age > 30).ToList();

            return(olderThan30);
        }