Reading/writing an INI file

后端 未结 16 2399
南旧
南旧 2020-11-22 00:15

Is there any class in the .NET framework that can read/write standard .ini files:

[Section]
=
...

Delphi has th

16条回答
  •  失恋的感觉
    2020-11-22 01:10

    PeanutButter.INI is a Nuget-packaged class for INI files manipulation. It supports read/write, including comments – your comments are preserved on write. It appears to be reasonably popular, is tested and easy to use. It's also totally free and open-source.

    Disclaimer: I am the author of PeanutButter.INI.

提交回复
热议问题