LINQ in Action roller

recursion using Linq?

I've got a parse tree structure that I am traversing using recursion in order to find all descendant nodes of a given type. It seems like the same should be possible with Linq but I can't figure out the syntax (still wrapping my head around the syntactical brain thunk between Linq and good old procedural programming). My recursive method looks like so: Code Snippet class NonTerminalNode : SyntaxNode { private List m_array = new List(); protected List FindDescendants() where T : NonTerminalNode { Read More...
Published Monday, July 07, 2008 5:52 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication