How to remove the linefeed or newline from a text file or cdr file including the spaces?
<p>This is my situation, I was able to remove the spaces using trim or replace. But it does not remove the linefeed or newline at the end of each file. How can I remove the spaces and linefeed in C#?</p>

<p>Thanks in advance.</p>
