A single backslash and the following character is an escape sequence. So when you do "\\r" what you are literally doing is escaping the second backslash, so the literal string result is: "\r" What you should be doing is "\r" which is interpreted as a carriage return.
However, I also agree with everyone else. Environment.New Line is a handy way to avoid escape sequences.
Comment