DSharp.CsvHelper NuGet Package

DSharp CSV Helper
With this package you can write attributes above your class like:

[CsvDelimiter("|")]

and above fields:
[CsvFormat("yyyyMMdd")]
[CsvLength(8)]
[CsvFormat("0.00")]
[CsvIgnore]

Afterwards you can write it:

var writer = new CsvWriter<MyObject>(@"c:\export.csv");
//writer.Definition.WriteHeader = false;
writer.Write(list);.




Got any DSharp.CsvHelper Question?





Info

Version: 2.0.2
Author(s): Erwin Bakels
Last Update: Saturday, March 28, 2020
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/DSharp.CsvHelper


Install
Install-Package DSharp.CsvHelper
dotnet add package DSharp.CsvHelper
paket add DSharp.CsvHelper
DSharp.CsvHelper Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

2

days-since-last-release

1482