Created
January 6, 2017 20:29
-
-
Save angelovstanton/e5315be9219d8873be9e091bcfea5ceb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void CreateReportAllTime() | |
{ | |
TextWriter textWriter = new StreamWriter(filePath); | |
var csv = new CsvWriter(textWriter); | |
csv.WriteRecords(articlesInfos.OrderByDescending(x => x.Views)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment