Is it possible to do a cast within a LINQ query (for the compiler\'s sake)?
The following code isn\'t terrible, but it would be nice to make it into one query:
And here's the query method form.
List parentLineList = content.ChildControls.OfType() .SelectMany(t => t.ChildControls.OfType()) .SelectMany(p => p.ChildControls.OfType()) .ToList();