Cinska_polivka

FileStream

Apr 19th, 2011
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. FileStream stream = new FileStream("/home/cina/Plocha/ahoj.txt", FileMode.Append);
  2. string text = "text co chces dal zapsat";
  3. byte[] text2 = System.Text.Encoding.UTF8.GetBytes(text);
  4. stream.Write(text2, 0, text2.Length);
  5. stream.Close();
Add Comment
Please, Sign In to add comment