What is the stream class to use for writing to the file strings and byte[] arrays? File needs to be opened to append or created new if it is absent.
using (Stream s = new Stream("application.log")
{
s.Write("message")
s.Write(new byte[] { 1, 2, 3, 4, 5 });
}