title: String replace equivalent for VB statement (";" & vbcrlf) in C#
body: <p>Duplicating a function in C# from some old VB code to perform string manipulation on email text.  I am not sure if this will work in all cases...can anyone confirm my thoughts on the correct C# code to use?  Are these equivalent?</p>
  
  <p>Original VB:</p>
  
  <pre><code>function FixText(Mail_Text)
     dim Clean_Text
     Clean_Text = Mail_Text
     Clean_Text = Replace(Clean_Text, "=" &amp; vbcrlf, "")
     Clean_Text = Replace(Clean_Text, ";" &amp; vblrcf, "")
     ` ... other stuff
     FixText = Clean_Text
  End Function
  </code></pre>
  
  <p>New C#:</p>
  
  <pre><code>public String FixText(Mail_Text)
  {
     String Clean_Text = Mail_Text;
     Clean_Text = Clean_Text.Replace("=" + System.Environment.NewLine, "");
     Clean_Text = Clean_Text.Replace(";" + System.Environment.NewLine, "");
     // ... other stuff
     return Clean_Text;
  }
  </code></pre>