Answer the question
In order to leave comments, you need to log in
Working with ini files?
Good morning!
Tell me how to work with inin files in C #, you need to read the information from the file.
You can post a link to the source.
[DB]
host=localhost
port=14358
Answer the question
In order to leave comments, you need to log in
https://code.google.com/p/ini-parser/
www.codeproject.com/Articles/1966/An-INI-file-hand...
bytes.com/topic/net/insights/797169-reading- parsin...
I won’t tell you how to correctly, I myself used to read line by line and then String.Split("="). But if you do it right, then it's better to use XML or application.settings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question