I've got a bit of a situation with similar objects - basically, every object implements a collection of a base type. So ...
Item1 - List Items2 - List Items3
public List Specials { get; set; }
Item2 : Item1 Item3 : Item1
Special { public int Value { get; set; } public string Name { get; set; } }
Now, I can just go down the tree and get things - but I want to basically want to get all of the "special" class intances from the entire object, all the way down the tree - into one single collection.
Is this possible with LINQ? or do I just have to rely on very convoluted loops?