Retrieve all controls using generics (II)
Gettings all controls from a container v2 A better approach In my previous post I created a recursive function to retrieve all controls inside a form and its containers. Today, my colleague and friend Eduard Tomàs sent me another solution to the same topic based on LINQ. It’s simply and really, really pretty ❤️
The power of LINQ Before starting, we need to solve this: LINQ works over IEnumerable, but Control.