Hello All,
I am trying to copy the contents of one file to another file line by line, but full content not copied..pls help
Regards,
Jithen
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Aug 1, 2014, 2:58 AM EDT
VulpesRank #55 · 29.2K reputationPosted Aug 1, 2014, 3:04 AM EDT
using(StreamWriter sw = new StreamWriter(toFile))
with this:
using(StreamWriter sw = new StreamWriter(toFile, true))