Originally Posted by
Jason
His question states that his whole application is hanging due to the length of time it's taking to write the data to disk. Poor coding aside, this is likely because of a large set of data in the list-box, given that the number of File.AppendAllText calls your code makes is directly proportional to the number of items in the listbox, it's safe to say this is a big deal.
Poor habits shouldn't be encouraged or suggested, especially for the sake of 1 less line of code. They breed other sloppy coding habits.