title: How can I Unescape and Reescape strings in .net?
body: <p>I need a TextBox on a WPF control that can take in text like <code>Commit\r\n\r</code> (which is the .net string <code>"Commit\\r\\n\\r"</code>) and convert it back to <code>"Commit\r\n\r"</code> as a .net string.  I was hoping for a string.Unescape() and string.Escape() method pair, but it doesn't seem to exist.  Am I going to have to write my own? or is there a more simple way to do this?</p>