I have a config file in my C# windows project (e.g. text.Config).In this file I have sections like
<configuration>
<configSections>
</configSections>
<FtpSettings>
<add key="ftpURL" value=""/>
<add key="ftpUserName" value=""/>
<add key="ftpPassword" value=""/>
</FtpSettings>
</configuration>
I am using 3.5 framework.
So can you tell me how can I read FtpSettings through this file?
I want all values within this section.
Can anyone give me exact code for this?Without string operations i need value of a particular key.
Thanks in advance.