Avoid .ini files if at all possible.  The same task can be done easier and
better through the use of an XML file.

If you absolutely must use an ini file, you have two choices:

1. Write your own ini file processing class.  The structure of the file is
basic.
2. Use P/Invoke to interface to the old Windows API ini file routines.

Believe it or not, #1 is easier than #2.  But, not using ini files is even
easier.  In fact, you can simply use the Properties class that is created by
default in most .NET projects.

...Glenn

On Wed, Sep 10, 2008 at 5:10 AM, uma <[EMAIL PROTECTED]> wrote:

>
> how can i read and write ini files using c#
>
> >
>


-- 
------------------------------------------------------
http://onefryshort.org/
http://blog.onefryshort.org/
------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---

Reply via email to