Iam using window forms. How can I query all child elements of a form, recursively, that are of a specific type?
In SQL, you must use selfjoin to accomplish this.
var result = from this join this ???? where ctrl is TextBox || ctrl is Checkbox select ctrl;
Can I also do this in LINQ?
EDIT:
LINQ supports joins. Why can't I use some kind of self-awareness?
source share