2. CSV
• A comma-separated values (CSV) (also sometimes
called character-separated values, because the separator
character does not have to be a comma) file
stores tabular data (numbers and text) in plain-text form
4. Reading from a file
• Create a CsvFileDescription object
• Create a CsvContext object
5. Reading from a file
• Read the file into an IEnumerable<T> using
the CsvContext object's Read method
6. Writing to a file
• Create a CsvFileDescription object
• Create a CsvContext object
7. Writing to a file
• Make sure the data is stored in an object that
implements IEnumerable<T>
• Invoke the Write method exposed by the CsvContext object to
write the contents of your IEnumerable<T> to a file