【文件属性】:
文件名称:IniFile:允许使用C#中的ini文件的DLL
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-07 03:22:53
C#
档案
允许使用C#中的ini文件的DLL。
用法
下载;
添加对Ini.dll引用(或者您可以从源代码中获取并将其直接添加到您的项目中,然后就不需要dll了);
例子
using Ini ;
...
private readonly IniFile _settings ;
...
public YouConstructor ()
{
// load settings
this . _settings = new IniFile ( "Path_To_Your_Ini.ini" );
}
...
// somewhere in your app
// read (default value can be of the following type: string, int, bool, double)
int myDefaultInt = 4 ;
int myVar = this
【文件预览】:
IniFile-master
----IniFile()
--------Ini.csproj(4KB)
--------Properties()
--------IniFile.cs(3KB)
----Tests()
--------IniTests.cs(3KB)
--------Tests.csproj(5KB)
--------Properties()
----README.md(1KB)
----Ini.sln(3KB)
----.gitignore(2KB)