#region 读取配置文件
IniFile file = new IniFile(System.IO.Directory.GetCurrentDirectory()+"/Lottery.ini");
if (file.ExistINIFile())
{
_Number = file.IniReadValue("TestIni", "number");
_Speed = int.Parse(file.IniReadValue("TestIni", "speed"));
}
#endregion
Lottery.ini
[TestIni]
number=001,002,003,004,005,006,007,008,009,010,011,012,013,014,015,016,017,018,019,020,021,022,023,024,025,026,027,028,029,030
speed=50