fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string source = "//uncomment me" + Environment.NewLine + "//line two.";
  8. string[] lines = source.Split('\r', '\n');
  9. foreach (string line in lines)
  10. {
  11. Console.WriteLine(line.Replace("//", ""));
  12. }
  13. }
  14. }
Success #stdin #stdout 0.02s 33856KB
stdin
Standard input is empty
stdout
uncomment me
line two.