An excellent resource for recursively using C# Linq to Objects !
-
Hi CP Friends, This is not a question; I just want to share with you a pointer to something I've been looking for a long time that I just found today[^]. It's a blog entry by David Jade with source code for an extension method and a sketch of a sample usage call. I've already been able to adopt David Jade's sample code to use for "harvesting" (as "flat" generic lists) both collections of WinForms controls, and TreeView Nodes : using his Linq extension method. Now if I could only understand what he's doing in the extension method ... I mean really understand it ... well, I'm trying, but I think I should graduate from kindergarten before posting any questions here about Linq : it slips through my mind like eels. best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
-
Hi CP Friends, This is not a question; I just want to share with you a pointer to something I've been looking for a long time that I just found today[^]. It's a blog entry by David Jade with source code for an extension method and a sketch of a sample usage call. I've already been able to adopt David Jade's sample code to use for "harvesting" (as "flat" generic lists) both collections of WinForms controls, and TreeView Nodes : using his Linq extension method. Now if I could only understand what he's doing in the extension method ... I mean really understand it ... well, I'm trying, but I think I should graduate from kindergarten before posting any questions here about Linq : it slips through my mind like eels. best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
BillWoodruff wrote:
Now if I could only understand what he's doing in the extension method
Are you talking about that
yield
stuff?Best wishes, Navaneeth
-
Hi CP Friends, This is not a question; I just want to share with you a pointer to something I've been looking for a long time that I just found today[^]. It's a blog entry by David Jade with source code for an extension method and a sketch of a sample usage call. I've already been able to adopt David Jade's sample code to use for "harvesting" (as "flat" generic lists) both collections of WinForms controls, and TreeView Nodes : using his Linq extension method. Now if I could only understand what he's doing in the extension method ... I mean really understand it ... well, I'm trying, but I think I should graduate from kindergarten before posting any questions here about Linq : it slips through my mind like eels. best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844