"Dakkar" <da****@sylveria.gen-dot-tr.no-spam.invalid> wrote in message
news:41********@Usenet.com...
I have 2 questions
first one is
How can i read from and write to files with c#
and the second one is
i want to write to a file which is in directory that i have in a
variable like
String path = "C:\Ultima Online\game\uo.exe";
and i want to drop the last part which comes after last \
is there anyway to do this?
Thanks
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
If you are using Visual Studio, I suggest you start with the MSDN Help
article entitled "Basic File I/O" which introduces the classes which support
the title functions. There are numerous links from that article to specifics
and examples.
Whether or not your are using Visual Studio, good alternate sources of
information can be found here:
http://www.codeproject.com/ http://support.microsoft.com/default...b;en-us;304430
Hope these get you started.
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.