Subject: INI files
Posted By: Kis Post Date: 12/12/2003 8:33:06 PM

I am new to c#. So can you please tell me how to use INI kind of stuff in c#?

Like i have one INI file
************** abc.ini************
[info]
key=ABC
symbol=logo
value=12

[languages]
009=English
000=french     ... etc.
**********************************

It no need to use ini file, file can be of any type. I want to read from this file.

Reply By: KABay Reply Date: 12/15/2003 9:45:06 AM
Look into using an XML file instead. C# has a very powerful set of classes that allow you to read, search & modify XML 'documents', which are still human readable and editable.
Reply By: Kis Reply Date: 12/17/2003 4:02:16 AM
Thanks for the reply KABay
But what i though as it is very easy to understand any INI file rather then XML file.
Actualy i want to have something like different Sections, so just use a loop to get al the keys in one section. I don't want to write everything as hard coded. If you can suggests me something for this then

Any way i'll try to use XML

Thx...


Go to topic 7639

Return to index page 985
Return to index page 984
Return to index page 983
Return to index page 982
Return to index page 981
Return to index page 980
Return to index page 979
Return to index page 978
Return to index page 977
Return to index page 976