How do I get rid of that '@' symbol from a string? I am using FileStream.WriteByte

  • Thread starter Thread starter Dan V.
  • Start date Start date
D

Dan V.

How do I get rid of that '@' symbol from a string?
I am tyring to use FileStream.WriteByte but it does not like it. I don't
want to write that '@' symbol to the file either.

s = @"c:\text1.txt"

bytes = Encoding.UTF8.GetBytes(s);

fs.Write(bytes, 0, bytes.Length);
 
Back
Top