fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.IO;
  6.  
  7. namespace ConsoleApplication2
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. using (StreamReader sr = new StreamReader(@"inputfile.txt"))
  14. {
  15. sr.ReadToEnd().Split('\n').Distinct().ToList().ForEach(s => Console.WriteLine(s));
  16. }
  17. }
  18. }
  19. }
  20.  
Runtime error #stdin #stdout 0.04s 39904KB
stdin
Standard input is empty
stdout
Standard output is empty