GithubHelp home page GithubHelp logo

enichan / ini Goto Github PK

View Code? Open in Web Editor NEW
92.0 92.0 32.0 18 KB

Ini file reader/writer for C# / .NET written in pure .NET in a single source file

License: MIT License

C# 100.00%
c-sharp csharp ini reader single-file writer

ini's People

Contributors

enichan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ini's Issues

“System.IO.FileNotFoundException”

“System.IO.FileNotFoundException”类型的未经处理的异常在 mscorlib.dll 中发生 其他信息: 未能找到文件“E:\c#\CSharpGrisaia1\Debug\config.ini”。

could not find config.ini

Unknown Parameters

What if i do not know the parameter names or the user decide to add a parameter?

For example:
[Excel Columns]
A=Col1
B=Col2

The user decide to add a column in the excel and write
C=Col3
into the ini file.

How i am able to get all parameters with a loop?

It would be nice if you could get all the parameters like this: (pseudo code)

for (int i=0; i < ini.Count; i++) {
// i = the line of the ini. 0 is the value index, since a parameter have only one value its probably always 0.
Console.WriteLine(ini[i][0].GetString(false, true));
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.