Possible Duplicate:
Reading/writing INI file in C#
my job is to parse the contents of an INI file. for this I want to use a wrapper function in which the input should be the section and key of the INI file and the output should be the corresponding value.
for example, if I give section name as "battery" and key name as "status", so I should get their corresponding value as stored in the INI file.
how should I do it?