我的配置看起来像这样,我不知道如何阅读,如果我选择产品或预览,我想获得价值?
<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>
如何在调试中阅读此内容?