app.config配置文件示例

 1 <? xml version="1.0" encoding="utf-8"  ?>
 2 < configuration >
 3   < appSettings >
 4
 5      < add  key ="SQLConnectionString"  value =""   />
 6      < add  key ="MailUserName"  value =""   />
 7      < add  key ="MailPassWord"  value =""   />
 8      < add  key ="MailPOP3ServerAddress"  value =""   />
 9      < add  key ="MailSMTPServerAddress"  value =""   />
10      < add  key ="MailPOP3Port"  value =""   />
11      < add  key ="MailRecipientsAddress"  value =""   />
12      < add  key ="MailAddress"  value =""   />
13    </ appSettings >
14 </ configuration >

你可能感兴趣的:(config)