fork(4) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string text = @"This is a \r\n test";
  8. Console.WriteLine(text);
  9. text = text.Replace(@"\r\n", Environment.NewLine);
  10. Console.WriteLine(text);
  11. }
  12. }
Success #stdin #stdout 0.02s 33816KB
stdin
Standard input is empty
stdout
This is a \r\n test
This is a 
 test