i have an xml file which contain some data like:
<?xml version="1.0" encoding="utf-8" ?>
<permission>
<CP name="My Messages">
<field name="name"/>
<field name="age"/>
<field name="ID"/>
</CP>
<field name="time"/>
<CP name="My Attandance">
</CP>
</permission>
by using my winforms app. i want to get the fields of "My Messages" in my code to further use, means i get the values and be able to even assign in to string or as control name, also i want to know the total count of it in C# code,