title: Removing carriage return and new-line from the end of a string in c#
body: <p>How do I remove the carriage return character <code>(\r)</code> and the new line character<code>(\n)</code> from the end of a string?</p>