Suppose I have:
public class foobar
{
public int lorem;
public int ipsum;
}
IEnumerable<foobar> items = new List<foobar>();
items.add(new foobar(){lorem = 0, ipsum = 0};
items.add(new foobar(){lorem = 1, ipsum = 1};
How can I get a IEnumerable of all "lorem" in "items" using Linq?