zendar zendar - 5 months ago 43
Ini Question

Reading/writing an INI file

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


Delphi has the
component and I want to know if there is anything similar for C#?


The creators of the .NET framework want you to use XML-based config files, rather than ini files. So no, there is no builtin mechanism for reading them.

There are third party solutions available though. Take a look at An INI file handling class using C#.