Add a reference to the assembly System.Configuration
.
Then at the top (assuming C#) using System.Configuration (Imports System.Configuration in VB.NET).
Use ConfigurationManager.AppSettings["MySetting"]
to access the settings!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…