Posted By

darxkies on 11/08/10


Tagged

file String save


Versions (?)

save string to file


 / Published in: C#
 

example is .xml to be saved under folder "data"

  1. string bookResult = "xxx";
  2. string FileName = "data/" + isbn + ".xml";
  3. System.IO.File.WriteAllText(FileName, bookResult);

Report this snippet  

You need to login to post a comment.