C# 读写配置文件
1. 引用】中添加【System.Configuration】 2. 类文件引用
using System.Configuration;
3. 使用 1. 读取配置文件
//读取路径上的配置文件
string path=Application.StartupPath+"\\myConf.config";
Configuration conf =C...分类标签归档:C#
1. 引用】中添加【System.Configuration】 2. 类文件引用
using System.Configuration;
3. 使用 1. 读取配置文件
//读取路径上的配置文件
string path=Application.StartupPath+"\\myConf.config";
Configuration conf =C...