Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Merge CSV Files
File.WriteAllLines(@"e:\resumo.txt", Directory.EnumerateFiles(@"E:\dados", "*.txt", SearchOption.AllDirectories)
.Select(s => s.Trim())
.Where(s => !string.IsNullOrWhiteSpace(s))
.OrderBy(x => x));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.