How to get attribute xml without loop c#



i have xml file like this



> <?xml version='1.0' ?>
<config>
<app>
<app version="1.1.0" />
> </app>
</config>


and i want to read attribute version from node app without any loop like this while(reader.read()) or foreach etc.


Thanks


No comments:

Post a Comment