Better HN
topnewbestaskshowjobs
Log inSign up

foobarred

1 karma · joined Oct 17, 2013 (13y ago) · 1 submissions

Submissions

comment 13y ago · link · parent

Use LinqPad then it's not cheating. It becomes:

File.WriteAllLines(args[1], File.ReadAllLines(args[0]).OrderBy(x => x));