I need create a .csv or .txt file from Collection. I\'m using the library CsvHelper and I developer the following extension method:
public static class CsvWriter