Skip to content

evjan/CsvHelper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CsvHelper

A library for reading and writing CSV files. Extremely fast, flexible, and easy to use. Supports reading and writing of custom class objects.

Install

To install CsvHelper, run the following command in the Package Manager Console

PM> Install-Package CsvHelper

Example

This is one way of reading a CSV file:

using( var reader = new CsvReader( new StreamReader( "file.csv" ) ) )
{
    while( reader.Read() )
    {
        Console.Write( reader.GetField( 0 ));            
    }
}

More examples can be found in the src/CsvHelper.Example project or in the Wiki.

License

Microsoft Public License (Ms-PL)

About

Library to help reading and writing CSV files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%