Insert LineFeed instead of CRLF
c#
Solution
Simply write
sb.Append((char)10);
or more readable
sb.Append('\n');
even more readable
const char LF = '\n';
sb.Append(LF);
Problem
Using StringBuilder and in my string I am using Environment.NewLine, when I open it it shows as CRLF, Is there another commands in C# that the output shows as "LF" only and not "CRLF"?