parent-node

c# Obtain a list of TreeView Parent nodes

If I have a TreeView (myTreeview),how can I obtain a list of all the nodes that are parent nodes? i.e. nodes that have children ...

Basic LINQ syntax

Lets say you have an XML like like this: <data> <messages> <message name="Person" id="P"> <field name="FirstName" required="Y" /> <field name="LastName" required="Y" /> <field name="Sex" required="N" /> </message> <message name="Car" id="C"> <field name="Make" required="Y" /> <field name="Model" required=...