Skip to content
forked from jcoehoorn/EasyCSV

Fast, zero-config CSV reader in one source file that can be included in a .Net Project

License

Notifications You must be signed in to change notification settings

VagyokC4/EasyCSV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EasyCSV v0.1

Fast, zero-config CSV reader in one source file that can be included in a C# Project

Based on my CSV Reader initially posted to this Stack Overflow question:
http://stackoverflow.com/a/1544743/3043

####What sets this CSV reader apart:

  1. Point it at any csv stream without knowing what kind of records the stream contains, and it will return nice data.
    Most current readers want you to tell your object up front what you expect in the CSV data, and will throw errors if the content is different.
  2. Lazy reads. Need just the first few records? Read just the first few records. Don't know? Read until you find what you're looking for.
  3. Works well with linq-to-objects
  4. Should perform very well, though I have not yet thoroughly benchmarked it

Just include EasyCSV.cs in your CSharp Project, and let Intellisense tell you how to use it.

####Roadmap Milestones for 1.0:

.1 Initial upload
.2 Add Visual Studio solution with Unit Tests
.3 Convert to inherit from TextReader
.4 Package for NuGet
.5 Add better support for header rows
.6 Add support for projecting records to a POCO instead of a List (can do this now, but it would waste work done creating the list)
.7 Add options: delimiter, error handling, escaping, more
.8 Initial write support
.9 Documentation
1.0 Performance optimizations

1.1 VB.Net Translation
1.2 F# Translation

About

Fast, zero-config CSV reader in one source file that can be included in a .Net Project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%