I have configuration look like this and I don't know how to read, I want to get value if I choose product or preview?
<configuration>
<environment name="product">
<connectionString> connection string</connectionString>
<logPath>C:\*****</logPath>
<errorLogPath>C:\*****</errorLogPath>
<ProcessesNumber>5</ProcessesNumber>
<sendAtOnce>100</sendAtOnce>
<restInterval>30000</restInterval>
<stopTime>30000</stopTime>
</environment>
<environment name="preview">
<connectionString> connctionstring </connectionString>
<logPath>C:\*****</logPath>
<errorLogPath>C:\*****</errorLogPath>
<ProcessesNumber>5</ProcessesNumber>
<sendAtOnce>100</sendAtOnce>
<restInterval>30000</restInterval>
<stopTime>30000</stopTime>
</environment>
</configuration>
How can I read this in my debugging?