views:

23

answers:

0

Hi,

I'm trying to convert the following structure:

Name
  Metadata
  Metadata
Name  
  Metadata
  Metadata

with data such as

Fred
  Surname, Bill
  Dob, 20/01/2009
Mike
  Surname, Jones
  Dob, 10/09/2000

into a collection of an anonymous class with the following properties: Name, Surname, Dob

I'm trying to do it through Linq and SelectMany but I'm struggling a bit. Any guru's out there?