I have a custom .Ini file that looks like this :
[Main props]
lives=3
name=danny
[Mommy props]
lives=2
I want to know how to read from the "Main props" section and assign a new value to the "lives" key and also reading from the "name" key.
I dont know how to go on about identifying the section, and changing its key.
If i just change the string values then ill have a problem when i change the "Main props" lives cause it will automatically change "Mommy props" lives and thats not what i want.
so i am striving to make a function like "ChangeIniValue(section, key, new value)
I am using windows CLR forms but i dont think it will complicate this issue.