Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. public static void WriteStringToFile(string ValueText)
  2. {
  3. try
  4. {
  5. FileStream fs = new FileStream(FCEModPath + "ModLog.log", FileMode.Append, FileAccess.Write);
  6. StreamWriter sw = new StreamWriter(fs);
  7. sw.WriteLine(ValueText);
  8. sw.Close();
  9. fs.Close();
  10. }
  11. catch (Exception)
  12. {
  13. throw;
  14. }
  15. finally
  16. {
  17.  
  18. }
  19.  
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement