المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ReadLine, Perform Action, DeleteLine, ReadNextLine...



C# Programming
04-06-2009, 06:12 PM
Hi All! http://www.barakasoft.com/script/Forums/Images/smiley_biggrin.gif

I am currently working on some file operations for my application and I want to Read the first line of a text file, grab it in a string, perform some actions, delete that line in the text file, and then do the same thing on the second line, and then the same for every line after that until there are no more lines left. Does anybody have any advice on how to go about this? I'd appreciate any help I can get on this, thanks for reading.

Jay.

j.t.