When programming there are often information that you want to save and later read. If you consider to use an INI file I suggest you read this post Why are INI files deprecated in favor of the registry?
Here are some reasons I find useful:
- INI files don't support Unicode.
- Multiple writers to an INI file can result in data loss.
- INI files can suffer a denial of service.
- Parsing an INI file is comparatively slow.
If you think XML is a better choice there are some arguments there as well.