Use LinqPad then it's not cheating. It becomes: File.WriteAllLines(args[1], File.ReadAllLines(args[0]).OrderBy(x => x));
Use LinqPad then it's not cheating. It becomes: File.WriteAllLines(args[1], File.ReadAllLines(args[0]).OrderBy(x => x));