Csvhelper: Updating Documentation

Created on 17 Aug 2018  路  2Comments  路  Source: JoshClose/CsvHelper

Hi folks

I"m wanting to do a pull request to improve the documentation a little bit - very minor. But I was confronted with this - see image below (source file: https://github.com/JoshClose/CsvHelper/blob/master/docs/writing/index.html)

image

My suggestion was to add a text writer surrounding it - like this:

c# using (StreamWriter textWriter = new StreamWriter(drawingType.LayoutsDirectory.FullName)) { var records = new List<MyClass> { ... }; var csv = new CsvWriter(textWriter); csv.WriteRecords(records); }

Not sure how to proceed exactly to update the docs. Advice much appreciated.

Most helpful comment

CsvHelper/docs are generated. The source is in CsvHelper/docs-src/.

All 2 comments

CsvHelper/docs are generated. The source is in CsvHelper/docs-src/.

@mbergkvist thank you sir!

Was this page helpful?
0 / 5 - 0 ratings