0

I have this code:

FileStream fs = new FileStream(name_loc_ficheiro,FileMode.Append,FileAccess.Write);
using (StreamWriter sw = new StreamWriter(fs))
{
    sw.Write(byteArray,(int)total_bytes_received,(int)byteArray.Length);
}

What is the right way to do this?

Vadim Martynov
  • 8,602
  • 5
  • 31
  • 43
meme
  • 597
  • 1
  • 10
  • 23

0 Answers0